/* 1. Homepage Feedback FAB: cleanly positioned below hero prompt card so it NEVER overlaps Generate button */
body.home .hh-home-feedback-fab,
#hh-home-feedback-fab {
  top: auto !important;
  bottom: 86px !important;
  right: 0 !important;
  transform: none !important;
  z-index: 100400 !important;
  pointer-events: auto !important;
  padding: 13px 9px 13px 10px !important;
  border-color: rgba(229, 184, 92, 0.62) !important;
  box-shadow: -4px 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(229, 184, 92, 0.16) !important;
}
body.home .hh-home-feedback-fab:hover,
#hh-home-feedback-fab:hover {
  transform: translateX(-2px) !important;
  padding-right: 13px !important;
}

/* 2. Membership Center Clean Typography, Breathing Room & Symmetric Grids (Zero DOM Conflict with hhpf!) */
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] {
  max-width: 1520px !important;
  margin: 0 auto !important;
  padding: 24px 24px 44px !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-member-hero {
  max-width: 1472px !important;
  margin: 0 auto 18px !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-toolbar,
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-plan-toolbar {
  max-width: 1472px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Grid Layouts across all 5 tabs: Monthly (7 -> 4+3), Quarter/Yearly (5), Trial (1), Image-Monthly (2..4) */
@media (min-width: 1200px) {
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid {
    display: grid !important;
    max-width: 1472px !important;
    margin: 18px auto 0 !important;
    gap: 18px !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }
  /* 7-card Monthly tab: Top 4 equal cards (span 3 = 12), Bottom 3 flagship cards (span 4 = 12) */
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid.hhpf-monthly-grid,
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid[data-hhml-count="7"] {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid.hhpf-monthly-grid > .hhsw-plan-card:nth-child(-n+4),
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid[data-hhml-count="7"] > .hhsw-plan-card:nth-child(-n+4) {
    grid-column: span 3 !important;
  }
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid.hhpf-monthly-grid > .hhsw-plan-card:nth-child(n+5),
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid[data-hhml-count="7"] > .hhsw-plan-card:nth-child(n+5) {
    grid-column: span 4 !important;
  }
  /* 1-card Trial tab */
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid.hhpf-trial-grid,
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid[data-hhml-count="1"] {
    grid-template-columns: minmax(360px, 480px) !important;
    justify-content: center !important;
  }
  /* 2/3/4-card Image-Monthly tab */
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid[data-hhml-count="2"] {
    grid-template-columns: repeat(2, minmax(320px, 460px)) !important;
    justify-content: center !important;
  }
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid[data-hhml-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 420px)) !important;
    justify-content: center !important;
  }
  html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid[data-hhml-count="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Card Shell Spacing & Clean Hierarchy */
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 20px 18px 18px !important;
  border-radius: 14px !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-card h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  padding-right: 68px !important;
  margin: 0 !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-price {
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  margin: -2px 0 2px !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-price b {
  font-size: 32px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}
/* Hide duplicate trailing cycle badge if two spans show '/ 季卡' */
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-price > span:nth-of-type(n+3) {
  display: none !important;
}

/* Value Metrics: Clean 2x2 Boxed Tiles (Zero Cramped Single-Pixel Lines!) */
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-card-period {
  margin-bottom: 6px !important;
  font-size: 11.5px !important;
  opacity: 0.72 !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-value-metrics {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-value-metric {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 5px !important;
  padding: 10px 11px !important;
  border: 1px solid var(--hhpf-card-border, rgba(223, 173, 82, 0.2)) !important;
  border-radius: 10px !important;
  background: var(--hhpf-card-raised, rgba(255, 255, 255, 0.03)) !important;
}
/* If 5 metrics exist (e.g. Trial card's 5th '有效期 7天'), span full width cleanly as a balanced bar */
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-value-metric:nth-child(5):last-child {
  grid-column: span 2 !important;
  flex-direction: row !important;
  align-items: center !important;
  padding: 8px 12px !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-value-metric > span {
  font-size: 11.5px !important;
  line-height: 1.3 !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-value-metric > span em {
  display: block !important;
  font-style: normal !important;
  font-size: 10.5px !important;
  opacity: 0.72 !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-metric-total {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 3px !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-value-metric b {
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

/* Benefits List: Respect hhpf's native block structure — NO flex squeeze, NO duplicate ::before checkmark, hide verbose repeated rule! */
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-benefits {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 4px 0 0 !important;
  border-top: 1px solid var(--hhpf-card-border, rgba(223, 173, 82, 0.18)) !important;
  list-style: none !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-benefits > li {
  display: block !important;
  padding: 9px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(223, 173, 82, 0.11) !important;
  background: transparent !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-benefits > li:last-child {
  border-bottom: 0 !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-benefits > li::before {
  display: none !important;
  content: none !important;
}
/* Hide repetitive 3-line exclusion disclaimer inside every card (already shown once in .hhpf-grid-footnote below!) */
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-benefits > li.hhpf-quota-rule {
  display: none !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-benefits > li.hhpf-quota-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  font-weight: 600 !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-quota-group > b,
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-concurrency > b,
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-member-price > b {
  display: block !important;
  margin-bottom: 5px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: normal !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-concurrency > div {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-concurrency > div > span {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  padding: 3px 8px !important;
  border-radius: 7px !important;
  background: rgba(166, 150, 128, 0.12) !important;
  font-size: 11.5px !important;
  white-space: nowrap !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-member-price > span {
  display: block !important;
  font-size: 11.5px !important;
  opacity: 0.78 !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-action,
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] [data-buy-membership] {
  margin-top: auto !important;
  min-height: 42px !important;
  border-radius: 9px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhpf-grid-footnote {
  max-width: 1472px !important;
  margin: 14px auto 22px !important;
  text-align: center !important;
  font-size: 12px !important;
  opacity: 0.75 !important;
}

/* Fix /membership/ Yearly/Quarterly/Monthly card stretching (override grid-auto-rows:1fr) & isolate .hh28 Image Plan */
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid,
html body #hhswApp .hhsw-membership .hhsw-plan-grid,
#hhswApp .hhsw-plan-grid {
  grid-auto-rows: auto !important;
  align-items: stretch !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid:not(.hh-ip-on) > .hh28,
html body #hhswApp .hhsw-membership .hhsw-plan-grid:not(.hh-ip-on) > .hh28,
#hhswApp .hhsw-plan-grid:not(.hh-ip-on) > .hh28 {
  display: none !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid.hh-ip-on > :not(.hh28),
html body #hhswApp .hhsw-membership .hhsw-plan-grid.hh-ip-on > :not(.hh28),
#hhswApp .hhsw-plan-grid.hh-ip-on > :not(.hh28) {
  display: none !important;
}
html body #hhswApp .hhsw-membership[data-hhpf-membership-revision] .hhsw-plan-grid.hh-ip-on,
html body #hhswApp .hhsw-membership .hhsw-plan-grid.hh-ip-on,
#hhswApp .hhsw-plan-grid.hh-ip-on {
  display: block !important;
  max-width: 1472px !important;
  width: 100% !important;
  grid-template-columns: minmax(0, 1fr) !important;
}
@media (min-width: 1100px) {
  html body #hhswApp .hh28 .grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
  }
}

/* Hide obsolete Full-Workspace link on /canvas/ project list header */
html body .ws42-hlink[data-ws42-action="full-workspace"] {
  display: none !important;
}

/* ==========================================================================
   Wave 6 Module 1 (Homepage Responsive Alignment + Day Mode Polish)
   & Module 4 (Homepage-Only Cinema Motion, Spotlight Cards & Cursor Glow)
   Iron Rules:
   - Strictly scoped to body.home + html[data-hhv-appearance]
   - NEVER overrides overflow:visible on .hanhai-home-generator-card / toolbars
   - NEVER alters .hhc-home-compat-menu z-index:100200 or adds backdrop-filter
   - GPU-only transform/opacity; all decorative layers pointer-events:none
   ========================================================================== */

/* 1.1 Unified Strictly Centered Width System (1280x800, 1440x900, 1920x1080) */
@media (min-width: 981px) {
  html[data-hhv-appearance] body.home.home.home.home .hh-hero-v22,
  html:has(aside.hh-ws50f-rail,.hh-rail,[data-hh-ws50f]) body.home.home.home.home .hh-hero-v22 {
    width: 100% !important;
    max-width: min(1120px, calc(100vw - 164px)) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }
  html[data-hhv-appearance] body.home.home.home.home .hh-hero-v22 .hanhai-home-generator-wrap,
  html[data-hhv-appearance] body.home.home.home.home .hanhai-home-generator-wrap,
  html:has(aside.hh-ws50f-rail,.hh-rail,[data-hh-ws50f]) body.home.home.home.home .hanhai-home-generator-wrap,
  html[data-hhv-appearance] body.home.home.home.home .hh-hero-v22 .hh-mode-launch-v22,
  html[data-hhv-appearance] body.home.home.home.home .hh-mode-launch-v22,
  html:has(aside.hh-ws50f-rail,.hh-rail,[data-hh-ws50f]) body.home.home.home.home .hh-mode-launch-v22 {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }
  html[data-hhv-appearance] body.home .hh-hero-v22 [data-hh-hero-prompt-heading] {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  html[data-hhv-appearance] body.home #hh-official-sitelinks-footer {
    box-sizing: border-box !important;
    padding-right: max(54px, 3.6vw) !important;
  }
  html[data-hhv-appearance] body.home #hh-official-sitelinks-footer > div {
    max-width: min(1120px, calc(100vw - 164px)) !important;
    margin-inline: auto !important;
  }
}

/* Remove ugly browser resize handle on Homepage prompt textarea */
html[data-hhv-appearance] body.home.home.home.home textarea.hanhai-home-prompt,
html[data-hhv-appearance] body.home.home.home.home .hanhai-home-generator-card textarea.hanhai-home-prompt,
html body.home.home.home.home .hanhai-home-prompt,
textarea#hanhai-home-prompt,
textarea.hanhai-home-prompt {
  resize: none !important;
}

/* 1.2 Homepage Day Mode Visual Polish (Warm Ivory, High Contrast, Zero Dark Fallbacks) */
html[data-hhv-appearance="day"] body.home.home.home.hhv-home-visual .hhc-home-compat-menu.hhc-home-compat-menu,
html[data-hhv-appearance="day"] body.home.home.home.hhv-home-visual .hhc-home-agent-preference-shell.hhc-home-agent-preference-shell,
html[data-hhv-appearance="day"] body.home.home.home.hhv-home-visual #hhc-home-menu-mode.hhc-home-compat-menu,
html[data-hhv-appearance="day"] body.home .hhc-home-compat-menu,
html[data-hhv-appearance="day"] body.home .hhc-home-agent-preference-shell,
html[data-hhv-appearance="day"] body.home #hhc-home-menu-mode,
html[data-hhv-appearance="day"] body.home #hhc-home-menu-model,
html[data-hhv-appearance="day"] body.home #hhc-home-menu-spec,
html[data-hhv-appearance="day"] body.home #hhc-home-menu-preference,
html[data-hhv-appearance="day"] body.home #hhc-home-menu-duration,
html[data-hhv-appearance="day"] body.home #hhc-home-menu-ratio,
html[data-hhv-appearance="day"] body.home #hhc-home-menu-resolution,
html[data-hhv-appearance="day"] body.home #hhc-home-menu-reference {
  background: #fffdf9 !important;
  background-color: #fffdf9 !important;
  color: #1c1710 !important;
  border: 1px solid rgba(176, 124, 40, 0.24) !important;
  box-shadow: 0 18px 44px rgba(28, 23, 16, 0.14), 0 2px 8px rgba(28, 23, 16, 0.06) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-hhv-appearance="day"] body.home :is(.hhc-home-compat-menu, .hhc-home-agent-preference-shell) :is(.hhc-home-compat-option, .hhc-agent-preference-choice, .hhc-home-model-card, .hhc-agent-model-card) {
  background: #f9f5ee !important;
  color: #1c1710 !important;
  border-color: rgba(176, 124, 40, 0.18) !important;
}
html[data-hhv-appearance="day"] body.home :is(.hhc-home-compat-menu, .hhc-home-agent-preference-shell) :is(.hhc-home-compat-option, .hhc-agent-preference-choice, .hhc-home-model-card, .hhc-agent-model-card):hover {
  background: #f3eadb !important;
  border-color: rgba(176, 124, 40, 0.45) !important;
}
html[data-hhv-appearance="day"] body.home :is(.hhc-home-compat-menu, .hhc-home-agent-preference-shell) :is(.hhc-home-compat-option, .hhc-agent-preference-choice, .hhc-home-model-card, .hhc-agent-model-card):is(.is-active, .active, [aria-selected="true"], [aria-pressed="true"]) {
  background: rgba(201, 146, 47, 0.18) !important;
  border-color: #c9922f !important;
  color: #6b4208 !important;
}
html[data-hhv-appearance="day"] body.home :is(.hhc-home-compat-menu, .hhc-home-agent-preference-shell) :is(small, p, .hhc-home-model-desc, .hhc-agent-section-title, .hhc-home-menu-title, .hhc-home-menu-sub) {
  color: #5c5040 !important;
}
html[data-hhv-appearance="day"] body.home :is(.hhc-home-compat-menu, .hhc-home-agent-preference-shell) :is(b, strong, h3, h4, .hhc-home-model-name) {
  color: #1c1710 !important;
}
html[data-hhv-appearance="day"] body.home :is(.hhc-home-compat-menu, .hhc-home-agent-preference-shell) input {
  background: #ffffff !important;
  color: #1c1710 !important;
  border-color: rgba(176, 124, 40, 0.28) !important;
}
html[data-hhv-appearance="day"] body.home .hhc-home-preview-count {
  background: #8c5a10 !important;
  color: #fffdf9 !important;
}

/* Day mode + 参考素材 dashed warm-gold border & crisp hover */
html[data-hhv-appearance="day"] body.home .hanhai-home-ref {
  background: #faf6ee !important;
  border: 1.5px dashed rgba(176, 124, 40, 0.56) !important;
  color: #5a4628 !important;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms cubic-bezier(.22, 1, .36, 1) !important;
}
html[data-hhv-appearance="day"] body.home .hanhai-home-ref * {
  color: #5a4628 !important;
  -webkit-text-fill-color: #5a4628 !important;
}
html[data-hhv-appearance="day"] body.home .hanhai-home-ref:hover {
  background: rgba(214, 166, 78, 0.16) !important;
  border-color: #b57b1c !important;
  color: #3d2c10 !important;
}
html[data-hhv-appearance="day"] body.home .hanhai-home-ref:hover * {
  color: #3d2c10 !important;
  -webkit-text-fill-color: #3d2c10 !important;
}

/* Day mode 4 Flagship Cards: Warm Ivory elevation + rich warm-gold icons + sharp subtitles */
html[data-hhv-appearance="day"] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22) {
  background: #fffdf9 !important;
  border: 1px solid rgba(176, 124, 40, 0.22) !important;
  box-shadow: 0 4px 16px rgba(28, 23, 16, 0.06), 0 1px 2px rgba(28, 23, 16, 0.04) !important;
}
html[data-hhv-appearance="day"] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22) :is(i, .hh-mode-icon-v22, .hh-flagship-icon-v22),
html[data-hhv-appearance="day"] body.home .hh-mode-card-v22 i.hh-mode-icon-v22 {
  background: linear-gradient(135deg, rgba(224, 182, 94, 0.30), rgba(196, 138, 42, 0.16)) !important;
  border: 1px solid rgba(176, 124, 40, 0.42) !important;
  color: #7c4d0a !important;
  -webkit-text-fill-color: #7c4d0a !important;
  filter: none !important;
}
html[data-hhv-appearance="day"] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22) :is(b, strong, h3) {
  color: #181410 !important;
  -webkit-text-fill-color: #181410 !important;
}
html[data-hhv-appearance="day"] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22) :is(small, p, em) {
  color: #4f463a !important;
  -webkit-text-fill-color: #4f463a !important;
  opacity: 1 !important;
}
html[data-hhv-appearance="day"] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22) .hh-flagship-badge-v22,
html[data-hhv-appearance="day"] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22) [class*="badge"],
html[data-hhv-appearance="day"] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22) [class*="tag"] {
  background: rgba(201, 146, 47, 0.14) !important;
  color: #7c4f0c !important;
  -webkit-text-fill-color: #7c4f0c !important;
  border-color: rgba(176, 124, 40, 0.3) !important;
}

/* ==========================================================================
   Module 4: Homepage-Only Cinema Micro-Interactions (Linear + Raycast Aesthetic)
   ========================================================================== */

@keyframes hhHeroTitleIn {
  0% { opacity: 0; transform: translate3d(0, 10px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hhHeroGoldSweep {
  0% { background-position: 120% 50%; }
  100% { background-position: -120% 50%; }
}

html[data-hhv-appearance] body.home .hh-hero-v22 [data-hh-hero-prompt-heading] {
  animation: hhHeroTitleIn 520ms cubic-bezier(.22, 1, .36, 1) both;
}
html[data-hhv-appearance="night"] body.home .hh-hero-v22 [data-hh-hero-prompt-heading] span,
html[data-hhv-appearance="hanhai"] body.home .hh-hero-v22 [data-hh-hero-prompt-heading] span {
  background-image: linear-gradient(108deg, #f5e6c8 0%, #f4cf86 30%, #fff6dd 48%, #f39b4b 68%, #ec8a96 100%) !important;
  background-size: 220% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: hhHeroGoldSweep 7.5s linear infinite;
}
html[data-hhv-appearance="day"] body.home .hh-hero-v22 [data-hh-hero-prompt-heading] span {
  background-image: linear-gradient(108deg, #7c3b06 0%, #b5660c 30%, #d48918 50%, #9a4a0c 72%, #7c3b06 100%) !important;
  background-size: 220% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  animation: hhHeroGoldSweep 7.5s linear infinite;
}

/* Flagship Card Spotlight Border + Crisp Lift & Click Spring */
html[data-hhv-appearance="night"] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22),
html[data-hhv-appearance="hanhai"] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22) {
  --hh-spot-border: rgba(244, 207, 134, 0.72);
  --hh-spot-fill: rgba(226, 178, 90, 0.11);
}
html[data-hhv-appearance="day"] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22) {
  --hh-spot-border: rgba(196, 132, 28, 0.68);
  --hh-spot-fill: rgba(212, 154, 60, 0.11);
}
html[data-hhv-appearance] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22) {
  position: relative !important;
  overflow: hidden !important;
  transition: transform 190ms cubic-bezier(.22, 1, .36, 1), border-color 190ms ease, box-shadow 220ms ease !important;
  will-change: transform;
}
html[data-hhv-appearance] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22)::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  padding: 1.5px !important;
  background: radial-gradient(220px circle at var(--hh-sx, 50%) var(--hh-sy, 50%), var(--hh-spot-border, rgba(244, 207, 134, 0.7)), transparent 68%) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none !important;
  opacity: 0;
  transition: opacity 200ms ease !important;
  z-index: 2;
}
html[data-hhv-appearance] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22)::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  background: radial-gradient(240px circle at var(--hh-sx, 50%) var(--hh-sy, 50%), var(--hh-spot-fill, rgba(226, 178, 90, 0.1)), transparent 70%) !important;
  pointer-events: none !important;
  opacity: 0;
  transition: opacity 220ms ease !important;
  z-index: 1;
}
html[data-hhv-appearance] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22):hover {
  transform: translate3d(0, -2px, 0) !important;
}
html[data-hhv-appearance] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22):hover::before,
html[data-hhv-appearance] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22):hover::after {
  opacity: 1 !important;
}
html[data-hhv-appearance] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22):active {
  transform: translate3d(0, 0, 0) scale(0.985) !important;
  transition-duration: 120ms !important;
}

/* Homepage-Only Lightweight Ambient Particles Canvas + Restrained Hero Cursor Glow */
body.home .hh-hero-v22 #hh-hero-cinema-canvas {
  position: absolute !important;
  inset: -24px -48px 0 -48px !important;
  width: calc(100% + 96px) !important;
  height: calc(100% + 24px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 0.72;
  transition: opacity 320ms ease;
}
body.home .hh-hero-v22 #hh-hero-cursor-glow {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 360px !important;
  height: 360px !important;
  margin-left: -180px !important;
  margin-top: -180px !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 260ms ease;
}
html[data-hhv-appearance="night"] body.home .hh-hero-v22 #hh-hero-cursor-glow,
html[data-hhv-appearance="hanhai"] body.home .hh-hero-v22 #hh-hero-cursor-glow {
  background: radial-gradient(circle, rgba(228, 180, 92, 0.14) 0%, rgba(228, 180, 92, 0.04) 44%, transparent 72%) !important;
}
html[data-hhv-appearance="day"] body.home .hh-hero-v22 #hh-hero-cursor-glow {
  background: radial-gradient(circle, rgba(212, 154, 60, 0.12) 0%, rgba(212, 154, 60, 0.03) 44%, transparent 72%) !important;
}
body.home .hh-hero-v22 > :not(#hh-hero-cinema-canvas):not(#hh-hero-cursor-glow) {
  position: relative;
  z-index: 3;
}

/* Reduced Motion Respect (Module 5 Iron Rule) */
@media (prefers-reduced-motion: reduce) {
  html[data-hhv-appearance] body.home .hh-hero-v22 [data-hh-hero-prompt-heading],
  html[data-hhv-appearance] body.home .hh-hero-v22 [data-hh-hero-prompt-heading] span {
    animation: none !important;
  }
  html[data-hhv-appearance] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22),
  html[data-hhv-appearance] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22)::before,
  html[data-hhv-appearance] body.home :is(.hh-mode-card-v22, .hh-flagship-card-v22)::after {
    transition: none !important;
    transform: none !important;
  }
  body.home #hh-hero-cinema-canvas,
  body.home #hh-hero-cursor-glow {
    display: none !important;
  }
}

/* ==========================================================================
   Wave 6 (#90): Cinema-Grade Fullscreen Image & Video Lightbox (document.body)
   Used across /studio/ (.hh371-dv + timeline video + openLightbox357) & /assets/
   ========================================================================== */
html.hh-clb-lock, html.hh-clb-lock body {
  overflow: hidden !important;
}
@keyframes hhClbIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hhClbMediaIn {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}
#hh-cinema-lightbox.hh-clb-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 2147483645 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(8, 7, 6, 0.88) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  animation: hhClbIn 200ms cubic-bezier(.22, 1, .36, 1) both;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif !important;
}
html[data-hhv-appearance="day"] #hh-cinema-lightbox.hh-clb-overlay {
  background: rgba(16, 13, 10, 0.82) !important;
}
#hh-cinema-lightbox .hh-clb-title {
  position: fixed !important;
  top: 22px !important;
  left: 24px !important;
  z-index: 5 !important;
  max-width: min(46vw, 480px) !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  background: rgba(24, 21, 17, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: rgba(245, 239, 230, 0.92) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  pointer-events: none !important;
}
#hh-cinema-lightbox .hh-clb-controls {
  position: fixed !important;
  top: 20px !important;
  right: 24px !important;
  z-index: 6 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 5px 7px !important;
  border-radius: 999px !important;
  background: rgba(24, 21, 17, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}
#hh-cinema-lightbox .hh-clb-btn {
  all: unset;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(245, 239, 230, 0.92) !important;
  -webkit-text-fill-color: rgba(245, 239, 230, 0.92) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background-color 150ms ease, color 150ms ease, transform 140ms ease !important;
}
#hh-cinema-lightbox .hh-clb-btn:hover {
  background: rgba(228, 180, 92, 0.22) !important;
  color: #f6d892 !important;
}
#hh-cinema-lightbox .hh-clb-btn:active {
  transform: scale(0.95) !important;
}
#hh-cinema-lightbox .hh-clb-btn.is-icon {
  padding: 0 !important;
  width: 32px !important;
  font-size: 16px !important;
}
#hh-cinema-lightbox .hh-clb-btn.is-close {
  font-size: 18px !important;
}
#hh-cinema-lightbox .hh-clb-btn.is-close:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #fca5a5 !important;
}
#hh-cinema-lightbox .hh-clb-sep {
  width: 1px !important;
  height: 16px !important;
  margin: 0 3px !important;
  background: rgba(255, 255, 255, 0.14) !important;
}
#hh-cinema-lightbox .hh-clb-stage {
  position: relative !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: 68px 52px 68px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
#hh-cinema-lightbox .hh-clb-media-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100% !important;
  max-height: 100% !important;
  animation: hhClbMediaIn 220ms cubic-bezier(.22, 1, .36, 1) both;
}
#hh-cinema-lightbox img.hh-clb-img {
  display: block !important;
  max-width: calc(100vw - 104px) !important;
  max-height: calc(100vh - 136px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  transform-origin: center center !important;
  transition: transform 90ms ease-out !important;
  will-change: transform !important;
  cursor: zoom-in !important;
}
#hh-cinema-lightbox img.hh-clb-img.is-zoomed {
  cursor: grab !important;
}
#hh-cinema-lightbox img.hh-clb-img.is-dragging {
  cursor: grabbing !important;
  transition: none !important;
}
#hh-cinema-lightbox video.hh-clb-video {
  display: block !important;
  max-width: calc(100vw - 104px) !important;
  max-height: calc(100vh - 144px) !important;
  width: auto !important;
  height: auto !important;
  border-radius: 14px !important;
  background: #000000 !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  outline: none !important;
}
#hh-cinema-lightbox .hh-clb-hint {
  position: fixed !important;
  bottom: 22px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 5 !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: rgba(20, 18, 15, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: rgba(245, 239, 230, 0.78) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}
/* Sleek frosted trigger pills on /studio/ .hh371-dv-stage and /assets/ .hhsw-asset-preview */
.hhsw-asset-preview {
  position: relative !important;
}
.hh-clb-trigger-pill {
  position: absolute !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 12 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 34px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(18, 16, 13, 0.74) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
  font: 600 12.5px/1 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.36) !important;
  transition: transform 160ms cubic-bezier(.22, 1, .36, 1), background-color 160ms ease, border-color 160ms ease !important;
}
.hh-clb-trigger-pill:hover {
  background: rgba(34, 28, 18, 0.9) !important;
  border-color: rgba(228, 180, 92, 0.65) !important;
  color: #f6d892 !important;
  -webkit-text-fill-color: #f6d892 !important;
  transform: translateY(-1px) !important;
}
.hh-clb-trigger-pill:active {
  transform: scale(0.96) !important;
}
.hhsw-asset-preview.has-video .hh-clb-trigger-pill,
.hh371-dv-stage.has-video .hh-clb-trigger-pill {
  bottom: auto !important;
  top: 16px !important;
  right: 16px !important;
}
.hh371-dv-stage > img {
  cursor: zoom-in !important;
}
.hhsw-asset-preview > img {
  cursor: zoom-in !important;
}
@media (prefers-reduced-motion: reduce) {
  #hh-cinema-lightbox.hh-clb-overlay,
  #hh-cinema-lightbox .hh-clb-media-wrap {
    animation: none !important;
  }
  #hh-cinema-lightbox img.hh-clb-img,
  #hh-cinema-lightbox .hh-clb-btn,
  .hh-clb-trigger-pill {
    transition: none !important;
  }
}
/* ==========================================================================
   Stage 1 (#98): Login/Register/Reset Modal (.hh-modal[data-modal="login"],
   #hh-login-modal, .hh-auth-shell.hh-auth-page) Apple/Linear Micro-Interactions
   + Reference Strip Upload/Delete & Action Micro-Interactions
   Iron Rules:
   - Strictly GPU-only transform/opacity (ZERO transition: all)
   - Strict Night & Day dual-theme separation
   - Full prefers-reduced-motion: reduce fallback
   - All decorative layers pointer-events: none
   ========================================================================== */

@keyframes hhLmBackdropIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hhLmBackdropOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes hhLmCardSpringIn {
  0% { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.94); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes hhLmCardCloseOut {
  0% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.95); }
}
@keyframes hhAuthFieldReveal {
  0% { opacity: 0; transform: translate3d(0, 6px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hhAuthShake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  16% { transform: translate3d(-5px, 0, 0); }
  33% { transform: translate3d(5px, 0, 0); }
  50% { transform: translate3d(-5px, 0, 0); }
  66% { transform: translate3d(4px, 0, 0); }
  82% { transform: translate3d(-2px, 0, 0); }
}
@keyframes hhAuthMsgSlideIn {
  0% { opacity: 0; transform: translate3d(0, -6px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hhCodeCountPulse {
  0%, 100% { opacity: 0.92; }
  50% { opacity: 0.62; }
}
@keyframes hhCodeCountRing {
  0% { opacity: 0.45; transform: scale(0.98); }
  100% { opacity: 0; transform: scale(1.06); }
}
@keyframes hhAuthCheckDraw {
  0% { stroke-dashoffset: 26; }
  100% { stroke-dashoffset: 0; }
}
@keyframes hhAuthRingDraw {
  0% { stroke-dashoffset: 66; opacity: 0.4; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes hhAuthSparkleBurst {
  0% { opacity: 1; transform: translate3d(0, 0, 0) scale(0.5); }
  65% { opacity: 0.95; }
  100% { opacity: 0; transform: translate3d(var(--hh-sp-x, 0px), var(--hh-sp-y, -18px), 0) scale(1.15); }
}
@keyframes hhRefCardPopIn {
  0% { opacity: 0; transform: translate3d(0, 6px, 0) scale(0.84); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes hhDlShimmerSweep {
  0% { transform: translate3d(-110%, 0, 0); opacity: 0.85; }
  100% { transform: translate3d(110%, 0, 0); opacity: 0; }
}

/* 1. Frosted Backdrop (Deep Obsidian Night / Soft Translucent Ivory Mist Day) + Spring Entrance / Snappy Close */
html:not(#_hh1):not(#_hh2):not(#_hh3):not([data-hhv-appearance^="day"]):not([data-hh-appearance^="day"]):not(.hhd4-day) body .hh-modal[data-modal="login"],
html:not(#_hh1):not(#_hh2):not(#_hh3):not([data-hhv-appearance^="day"]):not([data-hh-appearance^="day"]):not(.hhd4-day) body #hh-login-modal {
  background: rgba(6, 8, 14, 0.74) !important;
  backdrop-filter: blur(16px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body .hh-modal[data-modal="login"],
html:not(#_hh1):not(#_hh2):not(#_hh3):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body #hh-login-modal {
  background: rgba(246, 240, 229, 0.62) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"]:is(.is-open, [aria-hidden="false"], .show),
html:not(#_hh1):not(#_hh2):not(#_hh3) body #hh-login-modal:is(.is-open, [aria-hidden="false"], .show) {
  animation: hhLmBackdropIn 200ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"]:is(.is-open, [aria-hidden="false"], .show) .hh-modal-card.hh-login-modal,
html:not(#_hh1):not(#_hh2):not(#_hh3) body #hh-login-modal:is(.is-open, [aria-hidden="false"], .show) .hh-modal-card {
  will-change: transform, opacity;
  animation: hhLmCardSpringIn 240ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"].hh-lm-closing,
html:not(#_hh1):not(#_hh2):not(#_hh3) body #hh-login-modal.hh-lm-closing {
  pointer-events: none !important;
  animation: hhLmBackdropOut 160ms cubic-bezier(0.4, 0, 1, 1) both !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"].hh-lm-closing .hh-modal-card.hh-login-modal,
html:not(#_hh1):not(#_hh2):not(#_hh3) body #hh-login-modal.hh-lm-closing .hh-modal-card {
  animation: hhLmCardCloseOut 160ms cubic-bezier(0.4, 0, 1, 1) both !important;
}

/* Close Button Tactile Micro-Rotation */
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-modal-close {
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), color 160ms ease, border-color 160ms ease, background-color 160ms ease !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-modal-close:hover {
  transform: rotate(90deg) scale(1.06) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-modal-close:active {
  transform: rotate(90deg) scale(0.92) !important;
}

/* 2. Tab Switching Sliding Warm-Gold Pill (.hh-auth-tabs & .hh-reg-channel-tabs) */
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-tabs.hh-has-slider,
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell.hh-auth-page .hh-auth-card .hh-auth-tabs.hh-has-slider {
  position: relative !important;
  isolation: isolate !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-tabs.hh-has-slider > .hh-auth-tab-slider,
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell.hh-auth-page .hh-auth-card .hh-auth-tabs.hh-has-slider > .hh-auth-tab-slider {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 0 !important;
  border-radius: 9px !important;
  pointer-events: none !important;
  will-change: transform, width !important;
  background: linear-gradient(135deg, #f5dc9f 0%, #e0b55e 52%, #c99436 100%) !important;
  border: 1px solid rgba(180, 122, 28, 0.48) !important;
  box-shadow: 0 4px 14px rgba(201, 150, 59, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.46) !important;
  box-sizing: border-box !important;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), width 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 160ms ease !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):not([data-hhv-appearance^="day"]):not([data-hh-appearance^="day"]):not(.hhd4-day) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-tabs.hh-has-slider > .hh-auth-tab-slider,
html:not(#_hh1):not(#_hh2):not(#_hh3):not([data-hhv-appearance^="day"]):not([data-hh-appearance^="day"]):not(.hhd4-day) body .hh-auth-shell.hh-auth-page .hh-auth-card .hh-auth-tabs.hh-has-slider > .hh-auth-tab-slider {
  background: linear-gradient(135deg, #f3d89b 0%, #dfb35c 52%, #c9973b 100%) !important;
  border-color: rgba(255, 246, 227, 0.38) !important;
  box-shadow: 0 4px 16px rgba(230, 195, 122, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-tabs.hh-has-slider > .hh-auth-tab-slider.is-instant {
  transition: none !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-tabs.hh-has-slider > button,
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell.hh-auth-page .hh-auth-card .hh-auth-tabs.hh-has-slider > button {
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transition: color 180ms ease, transform 140ms cubic-bezier(0.2, 0.9, 0.3, 1) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-tabs.hh-has-slider > button:active,
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell.hh-auth-page .hh-auth-card .hh-auth-tabs.hh-has-slider > button:active {
  transform: scale(0.96) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-shell[data-auth-current="login"] .hh-auth-tabs.hh-has-slider > [data-hh-auth-tab="login"],
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-shell[data-auth-current="register"] .hh-auth-tabs.hh-has-slider > [data-hh-auth-tab="register"],
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-shell[data-auth-current="forgot"] .hh-auth-tabs.hh-has-slider > [data-hh-auth-tab="forgot"],
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell.hh-auth-page[data-auth-current="login"] .hh-auth-card .hh-auth-tabs.hh-has-slider > [data-hh-auth-tab="login"],
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell.hh-auth-page[data-auth-current="register"] .hh-auth-card .hh-auth-tabs.hh-has-slider > [data-hh-auth-tab="register"],
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell.hh-auth-page[data-auth-current="forgot"] .hh-auth-card .hh-auth-tabs.hh-has-slider > [data-hh-auth-tab="forgot"],
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-tabs.hh-has-slider > button.is-active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #161109 !important;
  -webkit-text-fill-color: #161109 !important;
  font-weight: 700 !important;
}

/* Staggered 40ms Field Entrance on Tab Switch */
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-pane.is-active.hh-pane-stagger > :not(h2):not(.hh-auth-pane-sub):not([hidden]) {
  animation: hhAuthFieldReveal 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--hh-stagger-idx, 0) * 40ms);
}

/* 3. Warm-Gold Outer Focus Halo on Inputs */
html:not(#_hh1):not(#_hh2):not(#_hh3):not([data-hhv-appearance^="day"]):not([data-hh-appearance^="day"]):not(.hhd4-day) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-pane input:not([type="checkbox"]):not([type="radio"]):focus,
html:not(#_hh1):not(#_hh2):not(#_hh3):not([data-hhv-appearance^="day"]):not([data-hh-appearance^="day"]):not(.hhd4-day) body .hh-auth-shell.hh-auth-page .hh-auth-card .hh-auth-pane input:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: #e6c37a !important;
  box-shadow: 0 0 0 3px rgba(230, 195, 122, 0.24), 0 0 18px -2px rgba(230, 195, 122, 0.30) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-pane input:not([type="checkbox"]):not([type="radio"]):focus,
html:not(#_hh1):not(#_hh2):not(#_hh3):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body .hh-auth-shell.hh-auth-page .hh-auth-card .hh-auth-pane input:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: #c9963b !important;
  box-shadow: 0 0 0 3px rgba(201, 150, 59, 0.22), 0 0 16px -2px rgba(201, 150, 59, 0.24) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-pane input.hh-input-invalid,
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell.hh-auth-page .hh-auth-card .hh-auth-pane input.hh-input-invalid {
  border-color: rgba(239, 68, 68, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16) !important;
}

/* 4. Password Eye Toggle Micro-Rotation Icon (CSS ::before survives textContent updates!) */
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-pass > button[data-hh-toggle-pass],
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell .hh-auth-pass > button[data-hh-toggle-pass] {
  gap: 5px !important;
  transition: background-color 150ms ease, color 150ms ease, transform 160ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-pass > button[data-hh-toggle-pass]::before,
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell .hh-auth-pass > button[data-hh-toggle-pass]::before {
  content: "" !important;
  display: inline-block !important;
  width: 14px !important;
  height: 14px !important;
  flex: none !important;
  background-color: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat !important;
  transform: rotate(0deg) scale(1) !important;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 160ms ease !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-pass > button[data-hh-toggle-pass][data-hh-pass-visible="1"]::before,
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell .hh-auth-pass > button[data-hh-toggle-pass][data-hh-pass-visible="1"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.88 9.88a3 3 0 1 0 4.24 4.24'/%3E%3Cpath d='M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68'/%3E%3Cpath d='M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.88 9.88a3 3 0 1 0 4.24 4.24'/%3E%3Cpath d='M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68'/%3E%3Cpath d='M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E") !important;
  transform: rotate(180deg) scale(1.06) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-pass > button[data-hh-toggle-pass]:active,
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell .hh-auth-pass > button[data-hh-toggle-pass]:active {
  transform: scale(0.94) !important;
}

/* 5. Verification Code Button Smooth Countdown Pulse */
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-verify-row > button[data-hh-counting="1"],
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell .hh-verify-row > button[data-hh-counting="1"] {
  position: relative !important;
  overflow: visible !important;
  cursor: default !important;
  animation: hhCodeCountPulse 1.8s ease-in-out infinite !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-verify-row > button[data-hh-counting="1"]::after,
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell .hh-verify-row > button[data-hh-counting="1"]::after {
  content: "" !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: 13px !important;
  border: 1px solid color-mix(in srgb, var(--g, #e6c37a) 55%, transparent) !important;
  pointer-events: none !important;
  animation: hhCodeCountRing 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite !important;
}

/* 6. Error Horizontal Shake (±5px) + Frosted Error/OK Message Slide-In */
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-card.hh-auth-shaking,
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-pane.hh-auth-shaking {
  animation: hhAuthShake 360ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal .hh-auth-message:not(:empty),
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell.hh-auth-page .hh-auth-card .hh-auth-message:not(:empty) {
  padding: 9px 12px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  animation: hhAuthMsgSlideIn 200ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):not([data-hhv-appearance^="day"]):not([data-hh-appearance^="day"]):not(.hhd4-day) body .hh-modal[data-modal="login"] .hh-auth-message.is-error:not(:empty),
html:not(#_hh1):not(#_hh2):not(#_hh3):not([data-hhv-appearance^="day"]):not([data-hh-appearance^="day"]):not(.hhd4-day) body .hh-auth-shell .hh-auth-message.is-error:not(:empty) {
  background: rgba(239, 68, 68, 0.13) !important;
  border: 1px solid rgba(248, 113, 113, 0.34) !important;
  color: #fca5a5 !important;
  -webkit-text-fill-color: #fca5a5 !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body .hh-modal[data-modal="login"] .hh-auth-message.is-error:not(:empty),
html:not(#_hh1):not(#_hh2):not(#_hh3):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body .hh-auth-shell .hh-auth-message.is-error:not(:empty) {
  background: rgba(220, 38, 38, 0.08) !important;
  border: 1px solid rgba(220, 38, 38, 0.28) !important;
  color: #b91c1c !important;
  -webkit-text-fill-color: #b91c1c !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):not([data-hhv-appearance^="day"]):not([data-hh-appearance^="day"]):not(.hhd4-day) body .hh-modal[data-modal="login"] .hh-auth-message.is-ok:not(:empty),
html:not(#_hh1):not(#_hh2):not(#_hh3):not([data-hhv-appearance^="day"]):not([data-hh-appearance^="day"]):not(.hhd4-day) body .hh-auth-shell .hh-auth-message.is-ok:not(:empty) {
  background: rgba(16, 185, 129, 0.13) !important;
  border: 1px solid rgba(52, 211, 153, 0.32) !important;
  color: #6ee7b7 !important;
  -webkit-text-fill-color: #6ee7b7 !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body .hh-modal[data-modal="login"] .hh-auth-message.is-ok:not(:empty),
html:not(#_hh1):not(#_hh2):not(#_hh3):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body .hh-auth-shell .hh-auth-message.is-ok:not(:empty) {
  background: rgba(16, 185, 129, 0.09) !important;
  border: 1px solid rgba(5, 150, 105, 0.28) !important;
  color: #047857 !important;
  -webkit-text-fill-color: #047857 !important;
}

/* 7. Login / Register Success Ceremony: Golden Ring SVG Check Draw + Micro-Sparkles */
html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-shell .hh-primary.is-hh-success-ceremony {
  overflow: visible !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #f8e4b0 0%, #e4b960 55%, #cf9838 100%) !important;
  box-shadow: 0 0 0 3px rgba(230, 195, 122, 0.28), 0 14px 34px -6px rgba(201, 150, 59, 0.62) !important;
  transform: scale(1.01) !important;
}
.hh-auth-ceremony-svg {
  width: 22px !important;
  height: 22px !important;
  flex: none !important;
  display: inline-block !important;
  pointer-events: none !important;
}
.hh-auth-ceremony-svg .hh-ring {
  stroke: #181308 !important;
  stroke-width: 2 !important;
  fill: none !important;
  stroke-dasharray: 66 !important;
  stroke-dashoffset: 66 !important;
  animation: hhAuthRingDraw 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}
.hh-auth-ceremony-svg .hh-check {
  stroke: #181308 !important;
  stroke-width: 2.3 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  fill: none !important;
  stroke-dasharray: 26 !important;
  stroke-dashoffset: 26 !important;
  animation: hhAuthCheckDraw 280ms cubic-bezier(0.22, 1, 0.36, 1) 140ms forwards !important;
}
.hh-auth-sparkle {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 6px !important;
  height: 6px !important;
  margin: -3px 0 0 -3px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, #fff8e2 0%, #e6c37a 65%, transparent 100%) !important;
  pointer-events: none !important;
  z-index: 6 !important;
  animation: hhAuthSparkleBurst 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

/* 8. Stage 1 Reference Image Thumbnail Pop-In & Smooth Delete + Action Micro-Feedback */
.hhref-card.hh-ref-pop-in {
  animation: hhRefCardPopIn 240ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}
.hhref-card.hh-ref-removing {
  opacity: 0 !important;
  transform: scale(0.9) !important;
  filter: blur(4px) !important;
  pointer-events: none !important;
  transition: transform 190ms cubic-bezier(0.4, 0, 1, 1), opacity 190ms ease, filter 190ms ease !important;
}
.hh-btn-copied {
  transform: scale(0.96) !important;
  transition: transform 150ms cubic-bezier(0.2, 0.9, 0.3, 1), color 150ms ease !important;
}
.hh-btn-dl-pulse {
  position: relative !important;
  overflow: hidden !important;
  transform: scale(0.96) !important;
  transition: transform 140ms cubic-bezier(0.2, 0.9, 0.3, 1) !important;
}
.hh-btn-dl-pulse::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #f4cf86, transparent) !important;
  pointer-events: none !important;
  animation: hhDlShimmerSweep 480ms cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

/* Reduced Motion Respect for Stage 1 */
@media (prefers-reduced-motion: reduce) {
  html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"],
  html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-modal[data-modal="login"] .hh-modal-card.hh-login-modal,
  html:not(#_hh1):not(#_hh2):not(#_hh3) body #hh-login-modal,
  html:not(#_hh1):not(#_hh2):not(#_hh3) body #hh-login-modal .hh-modal-card,
  html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-pane.is-active.hh-pane-stagger > *,
  html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-card.hh-auth-shaking,
  html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-pane.hh-auth-shaking,
  html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-message,
  html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-verify-row > button[data-hh-counting="1"],
  html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-verify-row > button[data-hh-counting="1"]::after,
  .hhref-card.hh-ref-pop-in,
  .hh-auth-sparkle,
  .hh-auth-ceremony-svg .hh-ring,
  .hh-auth-ceremony-svg .hh-check,
  .hh-btn-dl-pulse::after {
    animation: none !important;
    transition: none !important;
  }
  html:not(#_hh1):not(#_hh2):not(#_hh3) body .hh-auth-tabs.hh-has-slider > .hh-auth-tab-slider {
    transition: none !important;
  }
}

/* #104/#107: Day-mode login modal left brand panel — unified Warm Ivory surface + high-contrast ink & bronze (cold-start & toggled Day) */
html:not(#_hh1):not(#_hh2):not(#_hh3):not(#_hh4):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body :is(.hh-modal[data-modal="login"], #hh-login-modal, .hh-auth-shell) :is(.hh-auth-brand, .hh59-art) {
  background: radial-gradient(circle at 50% 42%, #fffcf5 0%, #f6ebd6 56%, #ebd9b8 100%) !important;
  border-right: 1px solid rgba(184, 130, 36, 0.18) !important;
  position: relative !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):not(#_hh4):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body :is(.hh-modal[data-modal="login"], #hh-login-modal, .hh-auth-shell) :is(.hh-auth-brand, .hh59-art)::before {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  opacity: 1 !important;
  pointer-events: none !important;
  background: radial-gradient(circle at 50% 42%, #fffcf5 0%, #f6ebd6 56%, #ebd9b8 100%) !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):not(#_hh4):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body :is(.hh-modal[data-modal="login"], #hh-login-modal, .hh-auth-shell) :is(.hh-auth-brand, .hh59-art)::after {
  opacity: 0.18 !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):not(#_hh4):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body :is(.hh-modal[data-modal="login"], #hh-login-modal, .hh-auth-shell) :is(.hh-auth-brand, .hh59-art) > :is(.hh59-stage, .hh59-cap) {
  position: relative !important;
  z-index: 2 !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):not(#_hh4):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body :is(.hh-modal[data-modal="login"], #hh-login-modal, .hh-auth-shell) :is(.hh59-t, .hh-auth-brand .hh-auth-brand-h, .hh-auth-brand h1, .hh-auth-brand h2) {
  color: #1c160f !important;
  -webkit-text-fill-color: #1c160f !important;
  text-shadow: none !important;
}
html:not(#_hh1):not(#_hh2):not(#_hh3):not(#_hh4):is([data-hhv-appearance^="day"], [data-hh-appearance^="day"], .hhd4-day) body :is(.hh-modal[data-modal="login"], #hh-login-modal, .hh-auth-shell) :is(.hh59-s, .hh-auth-brand p) {
  color: #8b5c14 !important;
  -webkit-text-fill-color: #8b5c14 !important;
  text-shadow: none !important;
}
