/* InstaHDPro | Instagram-inspired restrained accents
   Free mode only: color with purpose; no glow/animation or heavy shadows.
   Loaded after the legacy and Simply HD/SEO layers. */

body.simply-hd.mode-free {
  --ig-purple: #7138a5;
  --ig-pink: #c52a7d;
  --ig-coral: #d75250;
  --ig-orange: #e9823f;
  --ig-gradient: linear-gradient(108deg, #7138a5 0%, #a62b93 32%, #c72d72 64%, #d85b43 100%);
  --ig-faint: linear-gradient(108deg, #f5f0fb 0%, #fff1f7 52%, #fff6ed 100%);
  --ig-border: #eedce9;
  --sh-bg: #faf6f7;
  --sh-hover: #fdf2f6;
  --sh-line: #e8dfe6;
  --sh-accent: #b52766;
  --sh-accent-soft: #fff0f6;
}

/* Editorial emphasis: gradient confined to the second phrase. */
body.simply-hd.mode-free .editorial-hero {
  background: linear-gradient(108deg, rgba(246,239,253,.56), rgba(255,245,247,.75) 52%, rgba(255,246,233,.7));
  padding: 34px clamp(15px,4vw,38px) 30px !important;
  border: 1px solid var(--ig-border);
  border-radius: 20px;
  margin-top: 20px !important;
}
body.simply-hd.mode-free .editorial-hero h2 span {
  display:inline;
  color: transparent !important;
  background: var(--ig-gradient) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
body.simply-hd.mode-free .hero-chip {
  color:#983476 !important;
  background:rgba(255,255,255,.74) !important;
  border:1px solid var(--ig-border) !important;
}
body.simply-hd.mode-free .chip-dot { background:var(--ig-pink) !important; }
body.simply-hd.mode-free .logo-icon {
  color:white !important;
  background:var(--ig-gradient) !important;
  box-shadow:none !important;
}

/* A confident main action; other actions remain quiet. */
body.simply-hd.mode-free #submitBtn,
body.simply-hd.mode-free .btn-primary.btn-block {
  background:var(--ig-gradient) !important;
  border:1px solid transparent !important;
  color:#fff !important;
  box-shadow:none !important;
}
body.simply-hd.mode-free #submitBtn:hover:not(:disabled),
body.simply-hd.mode-free .btn-primary.btn-block:hover:not(:disabled) {
  background:var(--ig-gradient) !important;
  filter:brightness(.93) !important;
  box-shadow:none !important;
}
body.simply-hd.mode-free .media-tab {
  background:#fffdfd !important;
  border-color:var(--sh-line) !important;
}
body.simply-hd.mode-free .media-tab:hover {
  background:#fff8fb !important;
  border-color:#dca5c8 !important;
}
body.simply-hd.mode-free .media-tab.active {
  background:var(--ig-faint) !important;
  border:1px solid #c66b9e !important;
  box-shadow:inset 0 -3px 0 #c52a7d !important;
}
body.simply-hd.mode-free .media-tab.active .tab-label,
body.simply-hd.mode-free .media-tab.active .tab-icon-svg {
  color:#a52a73 !important;
}
body.simply-hd.mode-free .tab-btn.active,
body.simply-hd.mode-free .tab-btn:hover {
  background:#fff0f6 !important;
  color:#a52a73 !important;
}
body.simply-hd.mode-free .tab-btn-vip { color:#a52a73 !important; }

/* Light variation between sections so the page doesn't feel bleached. */
body.simply-hd.mode-free .input-card,
body.simply-hd.mode-free .left-pane {
  background:#fffdfd !important;
  border-color:#eadfe5 !important;
}
body.simply-hd.mode-free .results-top-bar { background:#fff !important; }
body.simply-hd.mode-free #sectionGuides {
  padding-inline:clamp(12px,2.5vw,28px) !important;
  background:#fffafc;
  border:1px solid var(--sh-line);
  border-radius:19px;
  margin-top:25px;
}
body.simply-hd.mode-free #sectionFaq {
  padding-inline:clamp(12px,2.5vw,28px) !important;
  background:linear-gradient(120deg,#fff7fb,#fff9f5);
  border:1px solid var(--sh-line);
  border-radius:19px;
  margin-top:20px;
}
body.simply-hd.mode-free .step-card,
body.simply-hd.mode-free .tool-diagram-card,
body.simply-hd.mode-free .seo-step-item {
  background:#fffafc !important;
}
body.simply-hd.mode-free .section-badge,
body.simply-hd.mode-free .auto-line-badge,
body.simply-hd.mode-free .seo-feature-pill {
  background:var(--ig-faint) !important;
  color:#9b3270 !important;
  border:1px solid var(--ig-border) !important;
}
body.simply-hd.mode-free .step-num,
body.simply-hd.mode-free .step-icon-wrap,
body.simply-hd.mode-free .seo-step-num,
body.simply-hd.mode-free .tool-diagram-number,
body.simply-hd.mode-free .faq-icon-badge,
body.simply-hd.mode-free .seo-faq-arrow {
  background:var(--ig-faint) !important;
  color:#a52a73 !important;
  border:1px solid var(--ig-border) !important;
}
body.simply-hd.mode-free .seo-faq-item[open],
body.simply-hd.mode-free .faq-accordion-item.active {
  border-color:#c66b9e !important;
}
body.simply-hd.mode-free .seo-faq-trigger:hover,
body.simply-hd.mode-free .faq-accordion-header:hover {
  background:#fff8fb !important;
}
body.simply-hd.mode-free .textarea-container:focus-within {
  border-color:#bc5b93 !important;
  box-shadow:0 0 0 3px #fbe8f2 !important;
}

/* Dark Pro mode retains its independent palette. */
@media(max-width:600px) {
  body.simply-hd.mode-free .editorial-hero {
    margin-top:12px !important;
    border-radius:15px;
    padding:23px 16px 24px !important;
  }
  body.simply-hd.mode-free #sectionGuides,
  body.simply-hd.mode-free #sectionFaq {padding-inline:11px !important;}
}
@media(prefers-reduced-motion:reduce) {
  body.simply-hd.mode-free #submitBtn {transition:none !important;}
}


/* Actual History locked VIP card (not sectionPricing). Keep the intentional
   dark surface, reduce dead space, and group benefits into tidy tiles. */
body.simply-hd #viewHistory #historyVipLockedCard.history-vip-locked-card {
  width:min(100%,920px)!important;
  max-width:920px!important;
  margin:23px auto 35px!important;
  padding:clamp(22px,4vw,36px)!important;
  border-radius:22px!important;
  background:#121725!important;
  border:1px solid #303447!important;
  box-shadow:0 10px 32px rgba(14,16,30,.12)!important;
  text-align:center!important;
  color:#faf8ff!important;
  position:relative;
  overflow:hidden;
}
body.simply-hd #viewHistory #historyVipLockedCard::before {
  content:"";position:absolute;top:0;right:0;left:0;
  height:3px;background:linear-gradient(90deg,#7d41bc,#cf3989,#e28a52);
  pointer-events:none;
}
body.simply-hd #historyVipLockedCard .vip-lock-icon {
  display:grid!important;place-items:center!important;
  width:52px;height:52px;
  margin:0 auto 13px!important;
  border:1px solid #72416d;
  background:#2e2239;
  border-radius:15px;color:#ef9bc9!important;
}
body.simply-hd #historyVipLockedCard .vip-lock-icon svg {
  width:25px!important;height:25px!important;
  color:#ef9bc9!important;stroke:currentColor!important;
}
body.simply-hd #historyVipLockedCard h2 {
  max-width:750px;margin:0 auto 8px!important;
  font-size:clamp(1.23rem,2.4vw,1.8rem)!important;
  line-height:1.65!important;font-weight:850!important;
  color:#fff!important;
}
body.simply-hd #historyVipLockedCard .vip-lock-desc {
  max-width:690px;margin:0 auto 23px!important;
  color:#c9c8d7!important;font-size:.85rem!important;
  line-height:1.95!important;
}
body.simply-hd #historyVipLockedCard .vip-perks-list {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0 0 24px!important;
  text-align:right!important;
}
body.simply-hd #historyVipLockedCard .perk-item {
  display:flex!important;align-items:flex-start!important;gap:11px!important;
  min-width:0;
  padding:16px 15px!important;
  background:#1b2030!important;
  border:1px solid #34394b!important;
  border-radius:14px!important;
  box-shadow:none!important;
  text-align:right!important;
}
body.simply-hd #historyVipLockedCard .perk-icon {
  display:grid!important;place-items:center!important;
  width:35px;height:35px;
  flex:0 0 35px!important;
  color:#e6a2cd!important;
  background:#32243d!important;
  border:1px solid #5d405e;
  border-radius:10px;margin:0!important;
}
body.simply-hd #historyVipLockedCard .perk-icon svg {
  width:18px;height:18px;
  stroke:#e8a3cf!important;
}
body.simply-hd #historyVipLockedCard .perk-item > div {
  min-width:0;flex:1;
}
body.simply-hd #historyVipLockedCard .perk-item strong {
  color:#fcfaff!important;
  display:block!important;
  font-size:.87rem!important;
  line-height:1.75!important;
  margin:0 0 4px!important;
}
body.simply-hd #historyVipLockedCard .perk-item div > span {
  color:#bcbdd0!important;
  display:block!important;
  font-size:.77rem!important;
  line-height:1.85!important;
}
body.simply-hd #historyVipLockedCard .vip-lock-actions {
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
body.simply-hd #historyVipLockedCard .vip-lock-actions .btn {
  flex:1 1 240px!important;
  max-width:410px;
  min-height:51px!important;
  padding:12px 16px!important;
  font-size:.85rem!important;
  font-weight:800!important;
  border-radius:12px!important;
  line-height:1.7!important;
  box-shadow:none!important;
  white-space:normal!important;
  transition:filter .2s ease,border-color .2s ease!important;
}
body.simply-hd #historyVipLockedCard .vip-lock-actions .btn-primary {
  background:linear-gradient(105deg,#8547ba,#c63e8d,#d86a52)!important;
  border:1px solid transparent!important;color:white!important;
}
body.simply-hd #historyVipLockedCard .vip-lock-actions .btn-primary:hover {
  filter:brightness(.94)!important;
}
body.simply-hd #historyVipLockedCard .vip-lock-actions .btn-secondary {
  background:#252b3a!important;
  border:1px solid #525063!important;
  color:#f1e9f5!important;
}
body.simply-hd #historyVipLockedCard .vip-lock-actions .btn-secondary:hover {
  background:#31364a!important;
  border-color:#b67aa7!important;
}
/* Keep Pro black/dark design independent, no global palette changes. */
@media(max-width:780px){
  body.simply-hd #historyVipLockedCard .vip-perks-list {
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.simply-hd #historyVipLockedCard .vip-lock-actions .btn {
    max-width:none;
  }
}
@media(max-width:600px){
  body.simply-hd.mode-free .app-header .nav-tabs {
    gap:6px!important;
  }
  body.simply-hd.mode-free .app-header .nav-tabs .tab-btn {
    padding:8px 9px!important;min-height:39px!important;
    font-size:.7rem!important;
  }
  body.simply-hd.mode-free .app-header #authBtn.header-auth-btn {
    min-height:40px!important;padding:8px 12px!important;
    font-size:.74rem!important;
  }
  body.simply-hd #viewHistory #historyVipLockedCard.history-vip-locked-card {
    margin:12px auto 22px!important;border-radius:16px!important;
    padding:19px 14px!important;
  }
  body.simply-hd #historyVipLockedCard .perk-item {
    padding:13px!important;
  }
  body.simply-hd #historyVipLockedCard .vip-lock-actions .btn {
    flex:1 1 100%!important;font-size:.82rem!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.simply-hd.mode-free .app-header #authBtn.header-auth-btn,
  body.simply-hd #historyVipLockedCard .vip-lock-actions .btn {
    transition:none!important;transform:none!important;
  }
}

/* InstaHDPro — Full-width editorial navbar V5.
   Real navigation (not cards). VIP history presentation preserved above. */
body.simply-hd.mode-free .app-header {
  display:block!important;flex-flow:initial!important;
  position:sticky!important;top:0!important;z-index:250!important;
  width:100vw!important;max-width:none!important;
  margin:0 calc(50% - 50vw) 27px!important;
  padding:0!important;border:0!important;
  border-bottom:1px solid #e7dfe7!important;border-radius:0!important;
  background:#fff!important;box-shadow:0 2px 12px rgba(44,24,44,.05)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  animation:none!important;overflow:visible!important;
}
body.simply-hd.mode-free .app-header::before {
  content:""!important;display:block!important;position:absolute!important;
  top:0!important;inset-inline:0!important;height:3px!important;
  background:linear-gradient(90deg,#e8a052,#dc3d83 50%,#8846be)!important;
  pointer-events:none!important;
}
body.simply-hd.mode-free .app-header::after {content:none!important;display:none!important;}
body.simply-hd.mode-free .app-header .site-header-inner {
  width:min(calc(100% - 40px),1160px);min-height:74px;margin-inline:auto;
  display:grid!important;grid-template-columns:172px minmax(0,1fr) 174px;
  align-items:center;gap:18px;direction:rtl;
}
body.simply-hd.mode-free .site-header-inner > .brand {
  grid-column:1;grid-row:1;min-width:0;order:initial!important;
}
body.simply-hd.mode-free .app-header .brand-link {
  display:inline-flex!important;align-items:center!important;
  gap:10px!important;white-space:nowrap;text-decoration:none!important;
}
body.simply-hd.mode-free .app-header .logo-icon {
  width:41px!important;height:41px!important;flex-shrink:0;
  border-radius:12px!important;
  background:linear-gradient(130deg,#8740b6,#cb3184 57%,#e8764f)!important;
  box-shadow:none!important;transform:none!important;
}
body.simply-hd.mode-free .app-header .brand-text h1 {
  font-size:1.21rem!important;color:#25212b!important;
  line-height:1.25!important;margin:0!important;
}
body.simply-hd.mode-free .app-header .brand-text h1 span {
  background:none!important;color:#a52e76!important;
  -webkit-text-fill-color:#a52e76!important;
  font-size:.67rem!important;padding:0!important;
}
body.simply-hd.mode-free .site-header-inner > .nav-tabs {
  grid-column:2;grid-row:1;order:initial!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:initial!important;min-width:0!important;width:auto!important;
  flex-wrap:nowrap!important;gap:clamp(10px,1.3vw,19px)!important;
  padding:0!important;border:0!important;background:transparent!important;
  border-radius:0!important;box-shadow:none!important;overflow:visible;
}
body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn,
body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn:nth-child(1),
body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn:nth-child(3),
body.simply-hd.mode-free .site-header-inner > .nav-tabs #tabHistory {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  position:relative!important;flex:0 0 auto!important;
  min-height:70px!important;padding:12px 8px!important;
  margin:0!important;gap:7px!important;white-space:nowrap!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  color:#403744!important;font-size:.81rem!important;font-weight:750!important;
  line-height:1.5!important;transform:none!important;
  transition:color .18s ease!important;
}
body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn::after {
  content:""!important;display:block!important;
  position:absolute!important;bottom:0!important;
  left:14%!important;right:14%!important;height:3px!important;
  border-radius:3px 3px 0 0!important;background:#9d3077!important;
  transform:scaleX(0)!important;
  transition:transform .19s ease!important;
}
body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn:hover,
body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn.active,
body.simply-hd.mode-free .site-header-inner > .nav-tabs #tabHistory.active {
  background:transparent!important;color:#942965!important;
  border:0!important;
}
body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn:hover::after,
body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn.active::after {
  transform:scaleX(1)!important;
}
body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn-vip:not(.active) {
  color:#7d2e94!important;background:transparent!important;
}
body.simply-hd.mode-free .site-header-inner > .nav-tabs #tabHistory:not(.active) {
  background:transparent!important;color:#403744!important;
}
body.simply-hd.mode-free .site-header-inner > .nav-tabs .nav-svg {
  color:inherit!important;stroke:currentColor!important;
  width:16px!important;height:16px!important;flex:0 0 16px!important;
  transition:none!important;transform:none!important;
}
body.simply-hd.mode-free .site-header-inner > .nav-tabs #historyBadge {
  min-width:0!important;padding:0!important;
  color:inherit!important;background:none!important;font-size:.69rem!important;
}
body.simply-hd.mode-free .site-header-inner > .nav-tabs #historyVipLockBadge {
  background:#f7edf5!important;border:1px solid #e8d1e1!important;
  color:#963572!important;border-radius:5px!important;
  font-size:.6rem!important;padding:1px 5px!important;
}
body.simply-hd.mode-free .site-header-inner > .header-auth-wrapper {
  grid-column:3;grid-row:1;justify-self:end;align-self:center;
  order:initial!important;margin:0!important;min-width:0!important;
  flex:initial!important;position:relative;
}
body.simply-hd.mode-free .site-header-inner #authNavContainer {
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
}
body.simply-hd.mode-free .app-header #authBtn.header-auth-btn {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex-direction:row!important;flex-wrap:nowrap!important;
  gap:8px!important;width:auto!important;max-width:175px!important;min-height:43px!important;
  padding:9px 17px!important;margin:0!important;
  white-space:nowrap!important;line-height:1.3!important;
  background:#97336e!important;color:white!important;
  border:1px solid #97336e!important;border-radius:10px!important;
  box-shadow:none!important;transform:none!important;
  font-size:.82rem!important;font-weight:800!important;
  transition:background-color .17s ease!important;
}
body.simply-hd.mode-free .app-header #authBtn.header-auth-btn:hover {
  background:#762353!important;border-color:#762353!important;
  filter:none!important;transform:none!important;
}
body.simply-hd.mode-free .app-header #authBtn.header-auth-btn > span {
  color:inherit!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;max-width:132px!important;
}
body.simply-hd.mode-free .app-header #authBtn.header-auth-btn .auth-btn-icon {
  color:inherit!important;stroke:currentColor!important;flex-shrink:0!important;
}
body.simply-hd.mode-free .app-header #authBtn.header-auth-btn.logged-in {
  color:#69314c!important;background:#faf0f6!important;border-color:#e2bdd2!important;
}
body.simply-hd.mode-free .app-header .user-dropdown-menu {z-index:500!important;}
@media(max-width:900px) {
  body.simply-hd.mode-free .app-header .site-header-inner {
    width:calc(100% - 30px);grid-template-columns:minmax(0,1fr) auto;
    gap:0 11px!important;padding-top:9px!important;
  }
  body.simply-hd.mode-free .site-header-inner > .brand {grid-column:1;grid-row:1;}
  body.simply-hd.mode-free .site-header-inner > .header-auth-wrapper {grid-column:2;grid-row:1;}
  body.simply-hd.mode-free .site-header-inner > .nav-tabs {
    grid-column:1/-1;grid-row:2;
    order:initial!important;width:100%!important;min-height:46px;
    justify-content:flex-start!important;gap:15px!important;
    padding:0!important;border-top:1px solid #eee5eb!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  body.simply-hd.mode-free .site-header-inner > .nav-tabs::-webkit-scrollbar {display:none;}
  body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn {
    min-height:46px!important;padding:9px 5px!important;
  }
}
@media(max-width:600px) {
  body.simply-hd.mode-free .app-header {margin-bottom:16px!important;}
  body.simply-hd.mode-free .app-header .site-header-inner {width:calc(100% - 24px);}
  body.simply-hd.mode-free .app-header .logo-icon {width:34px!important;height:34px!important;}
  body.simply-hd.mode-free .app-header .brand-text h1 {font-size:1rem!important;}
  body.simply-hd.mode-free .app-header #authBtn.header-auth-btn {
    max-width:155px!important;min-height:38px!important;
    padding:7px 10px!important;font-size:.72rem!important;
  }
  body.simply-hd.mode-free .site-header-inner > .nav-tabs {gap:10px!important;}
  body.simply-hd.mode-free .site-header-inner > .nav-tabs .tab-btn {
    min-height:45px!important;font-size:.75rem!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.simply-hd.mode-free .app-header *,
  body.simply-hd.mode-free .app-header *::after {
    transition:none!important;animation:none!important;
  }
}

/* Preserve the black Pro navbar after adding the shared inner wrapper. */
body.simply-hd.mode-pro .app-header .site-header-inner {
  display:flex!important;
  width:100%!important;min-width:0!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:12px!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .brand {
  flex:0 0 auto!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs {
  flex:1 1 auto!important;min-width:0!important;
  display:flex!important;align-items:center!important;
  justify-content:center!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .header-auth-wrapper {
  flex:0 0 auto!important;
}
@media(max-width:900px){
  body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs {
    order:3!important;flex:1 0 100%!important;
    justify-content:center!important;flex-wrap:wrap!important;
  }
}

/* V6 — edge-aligned RTL identity, centered navigation, separate signup/login */
body.simply-hd.mode-free .app-header .site-header-inner {
  width:100%!important;
  max-width:none!important;
  padding-inline:clamp(16px,2.1vw,38px)!important;
  box-sizing:border-box!important;
  grid-template-columns:minmax(255px,1fr) max-content minmax(255px,1fr)!important;
  column-gap:16px!important;
}
body.simply-hd.mode-free .app-header .site-header-inner > .brand {
  grid-column:1!important;grid-row:1!important;
  justify-self:start!important;
}
body.simply-hd.mode-free .app-header .site-header-inner > .nav-tabs {
  grid-column:2!important;grid-row:1!important;
  justify-self:center!important;
  justify-content:center!important;
  gap:clamp(10px,1.35vw,22px)!important;
}
body.simply-hd.mode-free .app-header .site-header-inner > .header-auth-wrapper {
  grid-column:3!important;grid-row:1!important;
  justify-self:end!important;
  width:auto!important;max-width:100%!important;
}
body.simply-hd.mode-free .app-header #authNavContainer {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  gap:9px!important;
  width:max-content!important;
}
body.simply-hd.mode-free .app-header #authBtn.header-auth-btn {
  max-width:195px!important;
  min-height:40px!important;
  padding:9px 15px!important;
  background:#fff!important;
  border:1px solid #b87899!important;
  color:#772c57!important;
  font-weight:800!important;
}
body.simply-hd.mode-free .app-header #authBtn.header-auth-btn:hover {
  background:#fcf0f7!important;
  border-color:#993e74!important;
}
body.simply-hd.mode-free .app-header #authBtn.header-auth-btn .auth-btn-icon,
body.simply-hd.mode-free .app-header #authBtn.header-auth-btn > span {
  color:inherit!important;
}
body.simply-hd.mode-free .app-header .header-signup-btn {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-height:40px!important;
  padding:9px 16px!important;
  border:1px solid #8e2d67!important;
  border-radius:10px!important;
  color:white!important;
  background:#8e2d67!important;
  font:800 .82rem/1.35 "Cairo","Inter",sans-serif!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:background-color .17s ease,border-color .17s ease!important;
}
body.simply-hd.mode-free .app-header .header-signup-btn:hover {
  background:#71204f!important;
  border-color:#71204f!important;
}
body.simply-hd.mode-free .app-header .header-signup-btn:focus-visible {
  outline:3px solid #b56a9b!important;outline-offset:3px!important;
}
body.simply-hd .app-header #signupBtn.hidden,
body.simply-hd .app-header #signupBtn[hidden] {
  display:none!important;
}
/* Pro header uses the same account actions but not the Free palette. */
body.simply-hd.mode-pro .app-header #signupBtn:not(.hidden) {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #874876!important;
  border-radius:10px!important;
  background:#802e66!important;color:white!important;
  padding:9px 14px!important;
  font:800 .82rem/1.35 "Cairo","Inter",sans-serif!important;
  white-space:nowrap!important;
}
@media(max-width:1100px) {
  body.simply-hd.mode-free .app-header .site-header-inner {
    width:100%!important;
    padding-inline:16px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    column-gap:12px!important;
    row-gap:0!important;
    padding-top:9px!important;
  }
  body.simply-hd.mode-free .app-header .site-header-inner > .brand {
    grid-column:1!important;grid-row:1!important;
  }
  body.simply-hd.mode-free .app-header .site-header-inner > .header-auth-wrapper {
    grid-column:2!important;grid-row:1!important;
  }
  body.simply-hd.mode-free .app-header .site-header-inner > .nav-tabs {
    grid-column:1/-1!important;grid-row:2!important;
    justify-self:stretch!important;justify-content:center!important;
    min-width:0!important;width:100%!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    scrollbar-width:none;
    border-top:1px solid #eee5eb!important;
    gap:15px!important;
  }
  body.simply-hd.mode-free .app-header .site-header-inner > .nav-tabs::-webkit-scrollbar {
    display:none!important;
  }
}
@media(max-width:600px) {
  body.simply-hd.mode-free .app-header .site-header-inner {
    padding-inline:12px!important;
    column-gap:7px!important;
  }
  body.simply-hd.mode-free .app-header #authNavContainer {gap:5px!important;}
  body.simply-hd.mode-free .app-header #authBtn.header-auth-btn {
    padding:7px 9px!important;min-height:35px!important;
    font-size:.69rem!important;max-width:134px!important;
  }
  body.simply-hd.mode-free .app-header .header-signup-btn {
    padding:7px 10px!important;min-height:35px!important;
    font-size:.69rem!important;border-radius:9px!important;
  }
  body.simply-hd.mode-free .app-header .brand-link {gap:5px!important;}
  body.simply-hd.mode-free .app-header .brand-text h1 {font-size:.91rem!important;}
  body.simply-hd.mode-free .app-header .logo-icon {width:31px!important;height:31px!important;}
}
@media(max-width:390px){
  body.simply-hd.mode-free .app-header .site-header-inner {padding-inline:10px!important;}
  body.simply-hd.mode-free .app-header .brand-text {display:none!important;}
  body.simply-hd.mode-free .app-header .header-signup-btn {padding-inline:8px!important;}
}
@media(prefers-reduced-motion:reduce) {
  body.simply-hd.mode-free .app-header .header-signup-btn {transition:none!important;}
}

/* ========================================================================
   VIP MEMBERS NAVBAR V7 — same identity and placement as Free, dark canvas.
   Shared DOM, membership logic, media extraction and counters untouched.
   ======================================================================== */
body.simply-hd.mode-pro {
  --pro-header-bg:#14151e;
  --pro-header-line:#35323f;
  --pro-ig-pink:#fb79a9;
  --pro-ig-purple:#cba1fa;
  --pro-text:#f8f7fc;
  --pro-muted:#c2bfcc;
  --pro-ig-gradient:linear-gradient(112deg,#a75ae8 0%,#df4e94 54%,#f18b5a 100%);
}
/* No floating "card" in VIP header — the header is now a full-width bar. */
body.simply-hd.mode-pro .app-header {
  display:block!important;
  position:sticky!important;
  top:0!important;
  z-index:250!important;
  width:100vw!important;
  max-width:none!important;
  margin:0 calc(50% - 50vw) 29px!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid var(--pro-header-line)!important;
  border-radius:0!important;
  background:var(--pro-header-bg)!important;
  box-shadow:0 2px 16px rgba(0,0,0,.18)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:visible!important;
  animation:none!important;
}
body.simply-hd.mode-pro .app-header::before {
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:0!important;
  inset-inline:0!important;
  height:3px!important;
  background:linear-gradient(90deg,#f18b5a,#df4e94 52%,#a75ae8)!important;
  pointer-events:none!important;
}
body.simply-hd.mode-pro .app-header::after {content:none!important;display:none!important;}
body.simply-hd.mode-pro .app-header .site-header-inner {
  direction:rtl!important;
  display:grid!important;
  grid-template-columns:minmax(245px,1fr) max-content minmax(245px,1fr)!important;
  align-items:center!important;
  justify-content:normal!important;
  column-gap:17px!important;
  width:100%!important;
  max-width:none!important;
  min-height:73px!important;
  padding:0 clamp(17px,2.15vw,40px)!important;
  box-sizing:border-box!important;
  margin:0 auto!important;
  flex-wrap:initial!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .brand {
  grid-column:1!important;
  grid-row:1!important;
  justify-self:start!important;
  flex:initial!important;
  min-width:0!important;
  order:initial!important;
}
body.simply-hd.mode-pro .app-header .brand-link {
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
body.simply-hd.mode-pro .app-header .logo-icon {
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  background:var(--pro-ig-gradient)!important;
  color:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  transition:transform .18s ease!important;
}
body.simply-hd.mode-pro .app-header .brand-link:hover .logo-icon {
  transform:rotate(-4deg)!important;
}
body.simply-hd.mode-pro .app-header .brand-text h1 {
  margin:0!important;
  color:#f9f8fc!important;
  font-size:1.24rem!important;
  font-weight:900!important;
  line-height:1.3!important;
}
body.simply-hd.mode-pro .app-header .brand-text h1 span {
  color:#ff92b9!important;
  -webkit-text-fill-color:#ff92b9!important;
  background:#342133!important;
  border:0!important;
  border-radius:5px!important;
  padding:2px 5px!important;
  font-size:.65rem!important;
}
/* Center navigation on the real page center, independently of account width. */
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs {
  grid-column:2!important;
  grid-row:1!important;
  order:initial!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:clamp(11px,1.5vw,21px)!important;
  flex:initial!important;
  min-width:0!important;
  width:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  flex-wrap:nowrap!important;
  overflow:visible!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs .tab-btn,
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs #tabHistory {
  position:relative!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:70px!important;
  padding:12px 8px!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  color:#d6d2df!important;
  box-shadow:none!important;
  font-size:.82rem!important;
  font-weight:750!important;
  white-space:nowrap!important;
  line-height:1.45!important;
  transform:none!important;
  transition:color .18s ease!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs .tab-btn:hover,
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs .tab-btn.active,
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs #tabHistory.active {
  background:transparent!important;
  border:0!important;
  color:#ff91b9!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs .tab-btn::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  bottom:0!important;
  left:14%!important;
  right:14%!important;
  height:3px!important;
  border-radius:3px 3px 0 0!important;
  background:var(--pro-ig-gradient)!important;
  transform:scaleX(0)!important;
  transform-origin:center;
  transition:transform .19s ease!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs .tab-btn.active::after,
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs .tab-btn:hover::after {
  transform:scaleX(1)!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs .tab-btn-vip:not(.active) {
  color:#ff83ac!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs .tab-btn .nav-svg {
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  color:inherit!important;
  stroke:currentColor!important;
  transform:none!important;
  transition:none!important;
  opacity:.95!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs #historyBadge {
  color:#f3dfea!important;
  background:#2b2c37!important;
  border:1px solid #43404d!important;
  border-radius:7px!important;
  font-size:.67rem!important;
  min-width:21px!important;
  padding:0 5px!important;
}
body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs #historyVipLockBadge {
  background:#3e2539!important;
  border:1px solid #684359!important;
  border-radius:5px!important;
  color:#ffc1da!important;
  font-size:.58rem!important;
  padding:1px 5px!important;
}
/* The member account/dropdown occupies the far left, not the center. */
body.simply-hd.mode-pro .app-header .site-header-inner > .header-auth-wrapper {
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:center!important;
  flex:initial!important;
  order:initial!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  position:relative!important;
}
body.simply-hd.mode-pro .app-header #authNavContainer {
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  min-width:0!important;
}
body.simply-hd.mode-pro .app-header #authBtn.header-auth-btn {
  display:inline-flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  max-width:268px!important;
  width:auto!important;
  min-height:42px!important;
  padding:9px 13px!important;
  margin:0!important;
  color:#f6eff9!important;
  background:#22222e!important;
  border:1px solid #484250!important;
  border-radius:10px!important;
  box-shadow:none!important;
  transform:none!important;
  white-space:nowrap!important;
  line-height:1.35!important;
  font-size:.81rem!important;
  font-weight:800!important;
  transition:border-color .16s ease,background-color .16s ease!important;
}
body.simply-hd.mode-pro .app-header #authBtn.header-auth-btn:hover {
  color:#fff!important;
  background:#2b2937!important;
  border-color:#b65b91!important;
  box-shadow:none!important;
  transform:none!important;
}
body.simply-hd.mode-pro .app-header #authBtn.header-auth-btn > span {
  white-space:nowrap!important;
  color:inherit!important;
  max-width:145px;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.simply-hd.mode-pro .app-header #authBtn.header-auth-btn.logged-in > span:nth-child(3) {
  flex-shrink:0!important;
  border:1px solid #68446a!important;
  border-radius:6px!important;
  background:#3c2740!important;
  color:#ffbbdf!important;
  padding:3px 7px!important;
  font-size:.67rem!important;
}
body.simply-hd.mode-pro .app-header #authBtn.header-auth-btn svg,
body.simply-hd.mode-pro .app-header #authBtn.header-auth-btn .auth-btn-icon {
  color:inherit!important;
  stroke:currentColor!important;
  flex-shrink:0!important;
}
body.simply-hd.mode-pro .app-header .user-dropdown-menu {
  z-index:500!important;
  background:#1d1e2a!important;
  border:1px solid #4a3c4c!important;
}
/* Hidden for existing users, same dynamic behaviour as Free version. */
body.simply-hd.mode-pro .app-header #signupBtn.hidden {display:none!important;}
body.simply-hd.mode-pro .app-header #signupBtn:not(.hidden) {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:9px 14px!important;
  border:1px solid #a9448a!important;
  border-radius:10px!important;
  background:#933875!important;
  color:#fff!important;
  font-size:.81rem!important;
  font-weight:800!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}

/* Instagram accents echoed in the dark VIP extractor. */
body.simply-hd.mode-pro .editorial-hero h2 span {
  display:inline;
  color:transparent!important;
  background:linear-gradient(100deg,#c084fc 0%,#fb76b0 52%,#ffa06d 100%)!important;
  background-clip:text!important;
  -webkit-background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}
body.simply-hd.mode-pro .hero-chip {
  background:#372333!important;
  color:#ff9fc5!important;
  border:1px solid #61384e!important;
}
body.simply-hd.mode-pro .chip-dot {background:#f771ab!important;}
body.simply-hd.mode-pro .media-tab {
  color:#d8d4df!important;
  border-color:#37323f!important;
  background:#1c1d28!important;
}
body.simply-hd.mode-pro .media-tab:hover {
  background:#25212e!important;
  border-color:#9e527e!important;
  transform:none!important;
}
body.simply-hd.mode-pro .media-tab.active {
  color:#ffd7e9!important;
  border:1px solid #d168a3!important;
  background:linear-gradient(125deg,#35213e,#38232f)!important;
  box-shadow:inset 0 -2px 0 #dd76ae!important;
}
body.simply-hd.mode-pro .media-tab.active .tab-label,
body.simply-hd.mode-pro .media-tab.active .tab-icon-svg {
  color:#ff95c1!important;
}
body.simply-hd.mode-pro .textarea-container:focus-within {
  border-color:#c46c9e!important;
  box-shadow:0 0 0 3px #2d2030!important;
}
body.simply-hd.mode-pro #submitBtn,
body.simply-hd.mode-pro .btn-primary.btn-block {
  background:linear-gradient(105deg,#793eae 0%,#a43383 53%,#ba4d6d 100%)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.simply-hd.mode-pro #submitBtn:hover:not(:disabled) {
  filter:brightness(1.1)!important;
}
/* Phone/tablet: brand + member actions on row 1; scrollable nav on row 2. */
@media(max-width:1130px) {
  body.simply-hd.mode-pro .app-header .site-header-inner {
    grid-template-columns:minmax(0,1fr) auto!important;
    column-gap:10px!important;
    row-gap:0!important;
    min-height:0!important;
    padding:8px 16px 0!important;
  }
  body.simply-hd.mode-pro .app-header .site-header-inner > .brand {
    grid-column:1!important;
    grid-row:1!important;
  }
  body.simply-hd.mode-pro .app-header .site-header-inner > .header-auth-wrapper {
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
  }
  body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs {
    grid-column:1/-1!important;
    grid-row:2!important;
    order:initial!important;
    flex:initial!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    gap:15px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    border-top:1px solid #34303e!important;
  }
  body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs::-webkit-scrollbar {
    display:none!important;
  }
  body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs .tab-btn {
    min-height:47px!important;
    padding:9px 6px!important;
  }
}
@media(max-width:600px) {
  body.simply-hd.mode-pro .app-header {
    margin-bottom:16px!important;
  }
  body.simply-hd.mode-pro .app-header .site-header-inner {
    padding:8px 11px 0!important;
    column-gap:7px!important;
  }
  body.simply-hd.mode-pro .app-header .logo-icon {
    width:34px!important;
    height:34px!important;
    flex:0 0 34px!important;
  }
  body.simply-hd.mode-pro .app-header .brand-text h1 {font-size:1rem!important;}
  body.simply-hd.mode-pro .app-header #authBtn.header-auth-btn {
    max-width:190px!important;
    min-height:37px!important;
    padding:7px 9px!important;
    font-size:.73rem!important;
  }
  body.simply-hd.mode-pro .app-header #authBtn.header-auth-btn > span {
    max-width:90px!important;
  }
  body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs {
    gap:11px!important;
  }
  body.simply-hd.mode-pro .app-header .site-header-inner > .nav-tabs .tab-btn {
    min-height:44px!important;
    font-size:.73rem!important;
  }
}
@media(max-width:390px) {
  body.simply-hd.mode-pro .app-header .brand-text {
    display:none!important;
  }
  body.simply-hd.mode-pro .app-header #authBtn.header-auth-btn {
    max-width:160px!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.simply-hd.mode-pro .app-header *,
  body.simply-hd.mode-pro .app-header *::after {
    transition:none!important;
    animation:none!important;
  }
}
