/* =========================================================
   HEIRESS DARBY — EMPIRE-WIDE LIVE AI CONCIERGE DRAWER
   Adapts natively across hub · salon · classes · podcast
   ========================================================= */
body.chat-open {
  overflow: hidden;
}

#heiress-chat-root {
  --hc-dark: #180e14;
  --hc-bordeaux: #311924;
  --hc-lacquer: #472233;
  --hc-cherry: #8c2946;
  --hc-cherry-deep: #6b1d35;
  --hc-blush: #e7c2bf;
  --hc-champagne: #f2dccb;
  --hc-accent-ring: rgb(231 194 191 / .42);
  --hc-halo-a: rgb(242 220 203 / .46);
  --hc-halo-b: rgb(212 112 138 / .36);
  --hc-halo-c: rgb(140 41 70 / .38);
  --hc-rim-glow: rgb(242 220 203 / .58);
  --hc-horizon-mid: rgb(242 220 203 / .82);
  --hc-horizon-edge: rgb(212 112 138 / .42);
  --hc-sage: #7fe0a5;
  --hc-paper: #f6f1e9;
  --hc-inset: #ece4d9;
  --hc-card: #fffdf8;
  --hc-ink: #26181f;
  --hc-muted: #5f4e55;
  --hc-rule: rgb(38 24 31 / .13);
  --hc-font-display: var(--display, Georgia, "Times New Roman", serif);
  --hc-font-sans: var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  --hc-font-mono: var(--mono, ui-monospace, "SF Mono", Menlo, monospace);
}

#heiress-chat-root[data-site-context="classes"] {
  --hc-accent-ring: rgb(201 166 121 / .5);
  --hc-champagne: #e8cfa9;
  --hc-halo-a: rgb(232 207 169 / .5);
  --hc-halo-b: rgb(201 166 121 / .4);
  --hc-halo-c: rgb(158 117 66 / .36);
  --hc-rim-glow: rgb(232 207 169 / .64);
  --hc-horizon-mid: rgb(232 207 169 / .86);
  --hc-horizon-edge: rgb(201 166 121 / .45);
}

#heiress-chat-root[data-site-context="podcast"] {
  --hc-accent-ring: rgb(231 194 191 / .48);
  --hc-halo-a: rgb(242 184 198 / .48);
  --hc-halo-b: rgb(214 76 112 / .44);
  --hc-halo-c: rgb(140 41 70 / .4);
  --hc-rim-glow: rgb(242 184 198 / .62);
  --hc-horizon-mid: rgb(242 184 198 / .84);
  --hc-horizon-edge: rgb(214 76 112 / .46);
}

:where(#heiress-chat-root *, #heiress-chat-root *::before, #heiress-chat-root *::after) {
  box-sizing: border-box;
}

#heiress-chat-root [hidden] {
  display: none !important;
}

:where(#heiress-chat-root .sr-only) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(#heiress-chat-root button) {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:where(#heiress-chat-root button:disabled) {
  cursor: default;
}

:where(#heiress-chat-root a) {
  color: inherit;
  text-decoration: none;
}

/* Sculpted Obsidian & Rose-Champagne Concierge Pill — hidden while #top hero is in view */
.hc-launcher {
  position: fixed;
  right: max(16px, calc(env(safe-area-inset-right, 0px) + clamp(14px, 2.2vw, 28px)));
  bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + clamp(14px, 2.2vw, 28px)));
  z-index: 95;
  isolation: isolate;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 28px);
  padding: 7px 19px 7px 8px;
  background: linear-gradient(142deg, #21111a 0%, #150b11 58%, #2a1420 100%);
  color: #fffaf2;
  border: 1px solid var(--hc-accent-ring);
  border-radius: 999px;
  box-shadow:
    0 20px 46px rgb(15 7 12 / .48),
    0 4px 14px rgb(15 7 12 / .28),
    inset 0 1px 0 rgb(255 250 242 / .18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.97);
  transition:
    opacity .32s cubic-bezier(.22, 1, .36, 1),
    transform .32s cubic-bezier(.22, 1, .36, 1),
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}
.hc-launcher::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    var(--hc-halo-a) 0%,
    var(--hc-halo-b) 34%,
    rgb(255 250 242 / .44) 50%,
    var(--hc-halo-c) 72%,
    var(--hc-halo-a) 100%
  );
  background-size: 240% 240%;
  filter: blur(8px);
  opacity: .64;
  animation: hc-halo-shimmer 6.4s ease-in-out infinite;
  transition: opacity .24s ease, filter .24s ease;
}
.hc-launcher::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--hc-rim-glow) 26%,
    rgb(255 250 242 / .82) 50%,
    var(--hc-rim-glow) 74%,
    transparent 100%
  );
  opacity: .88;
}
@keyframes hc-halo-shimmer {
  0%, 100% { background-position: 0% 50%; opacity: .54; }
  50% { background-position: 100% 50%; opacity: .82; }
}
.hc-launcher.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.hc-launcher.visible:hover {
  transform: translateY(-3px) scale(1.01);
  background: linear-gradient(142deg, #341927 0%, #1d0e16 62%, #3d1d2d 100%);
  border-color: var(--hc-champagne);
  box-shadow:
    0 24px 52px rgb(15 7 12 / .56),
    0 6px 18px rgb(140 41 70 / .28),
    inset 0 1px 0 rgb(255 250 242 / .26);
}
.hc-launcher.visible:hover::before {
  opacity: .92;
  filter: blur(10px);
}
.hc-launcher.visible:active { transform: translateY(-1px) scale(.97); }
.hc-launcher:focus-visible {
  outline: 2px solid var(--hc-champagne);
  outline-offset: 3px;
}

.hc-launcher-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
}
.hc-launcher-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 28% 36%;
  border: 1.5px solid var(--hc-champagne);
  box-shadow: 0 0 0 2px rgb(231 194 191 / .16);
}
.hc-launcher-avatar i,
.hc-head-avatar i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--hc-sage);
  border: 2px solid var(--hc-dark);
}
.hc-head-avatar i {
  right: 1px;
  bottom: 1px;
  border-color: #24121b;
}
.hc-launcher-avatar i::after,
.hc-head-avatar i::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--hc-sage);
  opacity: .6;
  animation: hc-aura-breathe 2.8s cubic-bezier(.22, 1, .36, 1) infinite;
}
@keyframes hc-aura-breathe {
  0% { transform: scale(.85); opacity: .68; }
  68% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

.hc-launcher-text {
  display: grid;
  text-align: left;
  gap: 2px;
  min-width: 0;
}
.hc-launcher-text strong {
  font: 600 14.5px/1.15 var(--hc-font-sans);
  letter-spacing: .01em;
  color: #fffaf2;
  white-space: nowrap;
}
.hc-launcher-text small {
  font: 500 12.5px/1.15 var(--hc-font-sans);
  letter-spacing: .03em;
  color: var(--hc-champagne);
  white-space: nowrap;
}

/* Backdrop & Private Suite Slide-Over Drawer */
.hc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 230;
  background:
    radial-gradient(ellipse 64% 72% at 88% 24%, rgb(140 41 70 / .24), transparent 68%),
    radial-gradient(ellipse 52% 60% at 18% 82%, rgb(71 34 51 / .28), transparent 70%),
    rgb(15 7 12 / .66);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.hc-backdrop.open { opacity: 1; pointer-events: auto; }

.hc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 230;
  width: min(504px, 100vw);
  max-width: 100vw;
  background: var(--hc-paper);
  color: var(--hc-ink);
  border-left: 1px solid rgb(242 220 203 / .36);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    -28px 0 72px rgb(10 5 8 / .52),
    -2px 0 18px rgb(242 220 203 / .14),
    inset 1px 0 0 rgb(255 250 242 / .55);
  transform: translateX(102%);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}
.hc-drawer.open { transform: translateX(0); }

.hc-drawer :focus-visible {
  outline: 2px solid var(--hc-cherry);
  outline-offset: 2px;
}
.hc-head :focus-visible,
.hc-starter-bar :focus-visible,
.hc-plan-bar :focus-visible,
.hc-world-card :focus-visible,
.hc-action-card :focus-visible {
  outline-color: var(--hc-blush);
}

/* Warm Glass-Frosted Obsidian Consultation Header */
.hc-head {
  position: relative;
  background:
    radial-gradient(ellipse 70% 90% at 12% 0%, rgb(140 41 70 / .24), transparent 70%),
    linear-gradient(135deg, rgb(25 13 20 / .96) 0%, rgb(49 25 36 / .94) 100%);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  color: #fffaf2;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) 15px max(18px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgb(231 194 191 / .22);
  box-shadow: 0 8px 24px rgb(15 7 12 / .2), inset 0 1px 0 rgb(255 250 242 / .09);
  flex: none;
}
.hc-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(231 194 191 / .28) 14%,
    var(--hc-horizon-mid) 50%,
    var(--hc-horizon-edge) 82%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgb(242 220 203 / .34);
}
.hc-head-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: none;
}
.hc-head-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 28% 36%;
  border: 1.5px solid var(--hc-champagne);
  box-shadow: 0 0 0 2px rgb(231 194 191 / .16);
}
.hc-head-meta {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}
.hc-head-meta h2 {
  margin: 0;
  font: italic 400 29.5px/1 var(--hc-font-display);
  letter-spacing: -.02em;
  color: #fffaf2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-head-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.hc-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  background: rgb(255 250 242 / .09);
  border: 1px solid rgb(242 220 203 / .28);
  font: 600 11.5px/1.15 var(--hc-font-sans);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--hc-champagne);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
  transition: background .24s ease, border-color .24s ease, color .24s ease;
}
.hc-ai-pill[data-mode="live"] {
  background: rgb(127 224 165 / .13);
  border-color: rgb(127 224 165 / .4);
  color: #daf9e5;
}
.hc-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hc-champagne);
  flex: none;
  transition: background .24s ease, box-shadow .24s ease;
}
.hc-ai-pill[data-mode="live"] .hc-status-dot {
  background: var(--hc-sage);
  box-shadow: 0 0 8px rgb(127 224 165 / .75);
}
.hc-head-context {
  font: 500 12px/1.2 var(--hc-font-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgb(242 220 203 / .76);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.hc-head-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.hc-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--hc-champagne);
  background: rgb(255 250 242 / .06);
  border: 1px solid rgb(231 194 191 / .26);
  font-size: 18px;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .14s ease;
}
.hc-icon-btn:hover {
  background: rgb(255 250 242 / .16);
  border-color: var(--hc-champagne);
  color: #fffaf2;
}
.hc-icon-btn:active { transform: scale(.93); }

/* Starter Utility Strip — 3-Tap Chair Plan Launcher (Salon only) */
.hc-starter-bar {
  background: linear-gradient(90deg, #1d0f17 0%, #2a1520 100%);
  color: #fffaf2;
  padding: 9px max(18px, env(safe-area-inset-right, 0px)) 9px max(18px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgb(231 194 191 / .18);
  flex: none;
}
.hc-wizard-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #982d4d 0%, var(--hc-cherry) 100%);
  color: #fffaf2;
  border: 1px solid rgb(242 220 203 / .36);
  box-shadow: 0 4px 12px rgb(15 7 12 / .26), inset 0 1px 0 rgb(255 250 242 / .14);
  font: 600 13.5px/1.15 var(--hc-font-sans);
  letter-spacing: .01em;
  transition: background .18s ease, border-color .18s ease, transform .14s ease, box-shadow .18s ease;
}
.hc-wizard-trigger:hover {
  background: #a53255;
  border-color: var(--hc-champagne);
  transform: translateY(-1px);
}
.hc-wizard-trigger:active { transform: scale(.97); }
.hc-wizard-trigger[aria-expanded="true"] {
  background: var(--hc-champagne);
  color: var(--hc-dark);
  border-color: var(--hc-champagne);
}
.hc-wizard-trigger-spark {
  font-size: 13.5px;
  line-height: 1;
}
.hc-wizard-trigger-pill {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgb(255 250 242 / .18);
  font: 600 11.5px/1.1 var(--hc-font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hc-wizard-trigger[aria-expanded="true"] .hc-wizard-trigger-pill {
  background: rgb(24 14 20 / .14);
  color: var(--hc-dark);
}
.hc-starter-hint {
  font: 500 12.5px/1.2 var(--hc-font-sans);
  color: rgb(242 220 203 / .8);
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Live Chair Plan Ribbon */
.hc-plan-bar {
  background: #170c12;
  color: #fffaf2;
  padding: 10px max(18px, env(safe-area-inset-right, 0px)) 10px max(18px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgb(231 194 191 / .2);
  font-size: 13.5px;
  flex: none;
}
.hc-plan-bar span { display: grid; gap: 2px; min-width: 0; }
.hc-plan-bar small {
  font: 600 11px/1.1 var(--hc-font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-blush);
}
.hc-plan-bar strong {
  font: 600 14px/1.25 var(--hc-font-sans);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-plan-bar button {
  padding: 8px 13px;
  border-radius: 4px;
  background: var(--hc-champagne);
  color: var(--hc-dark);
  font: 700 13.5px/1.1 var(--hc-font-sans);
  white-space: nowrap;
  flex: none;
  transition: background .18s ease, transform .14s ease;
}
.hc-plan-bar button:hover { background: #fffaf2; }
.hc-plan-bar button:active { transform: scale(.97); }

/* Scrollable Conversation Thread — Warm Silk-Parchment Room */
.hc-thread {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(ellipse 85% 32% at 50% 0%, rgb(231 194 191 / .18), transparent 72%),
    var(--hc-paper);
  padding: 18px max(18px, env(safe-area-inset-right, 0px)) 18px max(18px, env(safe-area-inset-left, 0px));
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hc-msg {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 94%;
  min-width: 0;
  scroll-margin-top: 14px;
  animation: hc-fade-up .3s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes hc-fade-up {
  from { opacity: 0; transform: translateY(8px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hc-msg.user { align-self: flex-end; align-items: flex-end; }
.hc-msg.heiress { align-self: flex-start; align-items: flex-start; width: 100%; max-width: 96%; }

.hc-msg-label {
  font: 600 11.5px/1 var(--hc-font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-muted);
}

.hc-bubble {
  padding: 14px 16px;
  font: 400 16px/1.58 var(--hc-font-sans);
  white-space: pre-line;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hc-msg.user .hc-bubble {
  background: linear-gradient(145deg, #3b1d2b 0%, #2a141f 100%);
  color: #fffaf2;
  border: 1px solid rgb(231 194 191 / .14);
  border-radius: 16px 16px 3px 16px;
  box-shadow: 0 8px 20px rgb(38 24 31 / .16);
}
.hc-msg.heiress .hc-bubble {
  background: var(--hc-card);
  color: var(--hc-ink);
  border: 1px solid rgb(38 24 31 / .11);
  border-radius: 3px 16px 16px 16px;
  box-shadow:
    0 8px 24px rgb(38 24 31 / .06),
    0 1px 2px rgb(38 24 31 / .04),
    inset 0 1px 0 rgb(255 255 255 / .9);
}
.hc-bubble strong { color: var(--hc-cherry); font-weight: 600; }
.hc-bubble em { font-style: italic; }
.hc-bubble code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgb(38 24 31 / .07);
  font: 500 14px/1.3 var(--hc-font-mono);
}
.hc-bubble a {
  color: var(--hc-cherry);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.hc-bubble a:hover { color: var(--hc-bordeaux); }

/* Live SSE Streaming Champagne Caret */
.hc-bubble.is-streaming {
  border-color: rgb(140 41 70 / .24);
}
.hc-stream-cursor {
  display: inline-block;
  width: 2.5px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.14em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--hc-champagne) 0%, var(--hc-cherry) 100%);
  box-shadow: 0 0 8px rgb(242 220 203 / .7);
  animation: hc-cursor-blink .85s steps(2, start) infinite;
}
@keyframes hc-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Personalized "Heiress's Chair Verdict" Editorial Bubble */
.hc-msg.heiress .hc-bubble.hc-verdict {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(140 41 70 / .28);
  box-shadow: 0 14px 32px rgb(23 14 20 / .11);
  white-space: normal;
}
.hc-verdict-head {
  background: linear-gradient(135deg, #27131e 0%, #441f31 100%);
  color: #fffaf2;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}
.hc-verdict-kicker {
  font: 600 11.5px/1.1 var(--hc-font-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hc-champagne);
}
.hc-verdict-title {
  margin: 0;
  font: italic 400 25px/1.05 var(--hc-font-display);
  color: #fffaf2;
}
.hc-verdict-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.hc-verdict-pills span {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgb(255 250 242 / .12);
  border: 1px solid rgb(242 220 203 / .26);
  font: 500 12.5px/1.2 var(--hc-font-sans);
  color: #fffaf2;
}
.hc-verdict-body {
  padding: 14px 16px 15px;
  display: grid;
  gap: 11px;
  font: 400 15px/1.56 var(--hc-font-sans);
}
.hc-verdict-body p { margin: 0; }
.hc-verdict-grid {
  display: grid;
  gap: 8px;
  padding: 11px 12px;
  background: var(--hc-paper);
  border: 1px solid var(--hc-rule);
  border-left: 3px solid var(--hc-cherry);
}
.hc-verdict-row {
  display: grid;
  gap: 2px;
}
.hc-verdict-row small {
  font: 600 11.5px/1.1 var(--hc-font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hc-muted);
}
.hc-verdict-row span {
  font: 500 14.5px/1.4 var(--hc-font-sans);
  font-variant-numeric: tabular-nums;
  color: var(--hc-ink);
}

/* =========================================================
   INTERACTIVE 3-TAP "BUILD MY CHAIR PLAN" MINI-WIZARD
   ========================================================= */
.hc-wizard-card {
  width: 100%;
  background: var(--hc-card);
  border: 1px solid rgb(140 41 70 / .28);
  border-radius: 4px 16px 16px 16px;
  box-shadow: 0 14px 34px rgb(23 14 20 / .1);
  overflow: hidden;
  scroll-margin-top: 14px;
  animation: hc-fade-up .28s cubic-bezier(.22, 1, .36, 1) both;
}
.hc-wizard-head {
  background: linear-gradient(135deg, #24121b 0%, var(--hc-bordeaux) 100%);
  color: #fffaf2;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.hc-wizard-head-copy { display: grid; gap: 3px; min-width: 0; }
.hc-wizard-kicker {
  font: 600 11.5px/1.1 var(--hc-font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-champagne);
}
.hc-wizard-head h3 {
  margin: 0;
  font: italic 400 24px/1.05 var(--hc-font-display);
  color: #fffaf2;
}
.hc-wizard-close {
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgb(231 194 191 / .3);
  color: var(--hc-champagne);
  font: 600 13px/1.1 var(--hc-font-sans);
  flex: none;
  transition: background .16s ease, color .16s ease, transform .14s ease;
}
.hc-wizard-close:hover { background: rgb(255 250 242 / .14); color: #fffaf2; }
.hc-wizard-close:active { transform: scale(.95); }

/* 3-Step Progress Bar & Tabs */
.hc-wizard-progress {
  height: 3px;
  background: rgb(140 41 70 / .13);
  overflow: hidden;
}
.hc-wizard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hc-cherry) 0%, #b54565 100%);
  transition: width .3s cubic-bezier(.22, 1, .36, 1);
}
.hc-wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--hc-rule);
  background: var(--hc-paper);
}
.hc-wizard-step-tab {
  min-height: 38px;
  padding: 8px 6px;
  font: 600 12px/1.2 var(--hc-font-sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--hc-muted);
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-wizard-step-tab.active {
  color: var(--hc-cherry);
  border-bottom-color: var(--hc-cherry);
  background: var(--hc-card);
}
.hc-wizard-step-tab.done {
  color: var(--hc-ink);
}
.hc-wizard-step-tab:disabled { opacity: .44; cursor: default; }

@keyframes hc-wizard-step-in {
  from { opacity: .35; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.hc-wizard-body {
  padding: 15px;
  display: grid;
  gap: 12px;
  animation: hc-wizard-step-in .24s cubic-bezier(.22, 1, .36, 1) both;
}
.hc-wizard-selections {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.hc-wizard-sel-pill {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--hc-inset);
  border: 1px solid rgb(140 41 70 / .16);
  font: 500 13px/1.2 var(--hc-font-sans);
  color: var(--hc-ink);
}
.hc-wizard-sel-pill strong {
  color: var(--hc-cherry);
  font-weight: 600;
  margin-right: 4px;
}
.hc-wizard-q {
  margin: 0;
  font: 600 16.5px/1.3 var(--hc-font-sans);
  color: var(--hc-ink);
}
.hc-wizard-options {
  display: grid;
  gap: 8px;
}
.hc-wizard-opt {
  position: relative;
  width: 100%;
  min-height: 52px;
  padding: 11px 13px;
  background: var(--hc-paper);
  border: 1px solid rgb(38 24 31 / .14);
  border-radius: 10px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition:
    border-color .18s ease,
    background .18s ease,
    transform .14s cubic-bezier(.22, 1, .36, 1),
    box-shadow .18s ease;
}
.hc-wizard-opt:hover {
  border-color: rgb(140 41 70 / .55);
  background: #fdf6f5;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgb(38 24 31 / .06);
}
.hc-wizard-opt:active { transform: scale(.982); }
.hc-wizard-opt.selected {
  border-color: var(--hc-cherry);
  background: linear-gradient(135deg, #fffaf7 0%, #f9eaee 100%);
  box-shadow: inset 3.5px 0 0 var(--hc-cherry), 0 8px 18px rgb(140 41 70 / .11);
}
.hc-wizard-opt-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.hc-wizard-opt-copy strong {
  font: 600 14.5px/1.25 var(--hc-font-sans);
  color: var(--hc-ink);
}
.hc-wizard-opt-copy small {
  font: 400 13.5px/1.3 var(--hc-font-sans);
  color: var(--hc-muted);
}
.hc-wizard-opt-mark {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgb(140 41 70 / .28);
  background: #fffdf9;
  display: grid;
  place-items: center;
  font: 700 13.5px/1 var(--hc-font-sans);
  color: var(--hc-cherry);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.hc-wizard-opt:hover .hc-wizard-opt-mark {
  border-color: var(--hc-cherry);
  transform: translateX(1px);
}
.hc-wizard-opt.selected .hc-wizard-opt-mark {
  background: var(--hc-cherry);
  border-color: var(--hc-cherry);
  color: #fffaf2;
  transform: scale(1.04);
}

.hc-wizard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.hc-wizard-back {
  min-height: 40px;
  padding: 8px 13px;
  font: 600 13.5px/1.1 var(--hc-font-sans);
  color: var(--hc-muted);
  border: 1px solid var(--hc-rule);
  border-radius: 8px;
  background: var(--hc-card);
  transition: color .16s ease, border-color .16s ease, transform .14s ease;
}
.hc-wizard-back:hover { color: var(--hc-ink); border-color: var(--hc-ink); }
.hc-wizard-back:active { transform: scale(.97); }
.hc-wizard-submit {
  margin-left: auto;
  min-height: 42px;
  padding: 10px 16px;
  background: var(--hc-cherry);
  color: #fffaf2;
  font: 600 14px/1.15 var(--hc-font-sans);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgb(140 41 70 / .24);
  transition: background .18s ease, transform .14s ease, box-shadow .18s ease;
}
.hc-wizard-submit:hover { background: var(--hc-bordeaux); transform: translateY(-1px); }
.hc-wizard-submit:active { transform: scale(.97); }
.hc-wizard-submit:disabled {
  opacity: .42;
  background: var(--hc-muted);
  box-shadow: none;
  transform: none;
}

/* Inline Visual Look, Service, Action & Cross-World Cards */
.hc-cards {
  display: grid;
  gap: 9px;
  width: 100%;
  min-width: 0;
  animation: hc-fade-up .34s cubic-bezier(.22, 1, .36, 1) .04s both;
}

/* Matched-Dimension Destination / Booking Action Cards (Live AI + Ecosystem) */
.hc-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 9px;
  width: 100%;
  min-width: 0;
}
.hc-action-card {
  position: relative;
  isolation: isolate;
  padding: 13px 14px;
  background: linear-gradient(146deg, #1d0f17 0%, #2e1723 64%, #22101a 100%);
  color: #fffaf2;
  border: 1px solid rgb(231 194 191 / .28);
  border-left: 3px solid var(--hc-champagne);
  border-radius: 4px 12px 12px 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 9px;
  min-width: 0;
  box-shadow: 0 10px 24px rgb(15 7 12 / .2);
  transition: transform .2s cubic-bezier(.22, 1, .36, 1), border-color .2s ease, box-shadow .2s ease;
}
.hc-action-card:hover {
  transform: translateY(-2px);
  border-color: rgb(242 220 203 / .52);
  box-shadow: 0 14px 30px rgb(15 7 12 / .28);
}
.hc-action-card[data-action-type="book"] { border-left-color: #d4708a; }
.hc-action-card[data-action-type="salon"] { border-left-color: #d4708a; }
.hc-action-card[data-action-type="classes"] { border-left-color: #c9a679; }
.hc-action-card[data-action-type="podcast"] { border-left-color: #df9ea9; }
.hc-action-card[data-action-type="press"] { border-left-color: var(--hc-blush); }
.hc-action-card[data-action-type="hub"] { border-left-color: var(--hc-champagne); }

.hc-action-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.hc-action-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.hc-action-eyebrow {
  font: 600 11px/1.15 var(--hc-font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-champagne);
}
.hc-action-domain {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgb(255 250 242 / .09);
  border: 1px solid rgb(231 194 191 / .22);
  font: 500 11.5px/1.2 var(--hc-font-mono);
  color: rgb(255 250 242 / .9);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hc-action-title {
  margin: 0;
  font: 600 15px/1.28 var(--hc-font-sans);
  color: #fffaf2;
  overflow-wrap: break-word;
}
.hc-action-detail {
  margin: 0;
  font: 400 13.5px/1.42 var(--hc-font-sans);
  color: rgb(255 250 242 / .8);
  overflow-wrap: break-word;
}
.hc-action-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 2px;
}
.hc-action-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1 1 auto;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--hc-champagne);
  color: var(--hc-dark);
  font: 700 13.5px/1.15 var(--hc-font-sans);
  text-align: center;
  transition: background .18s ease, transform .14s ease;
}
.hc-action-cta:hover { background: #fffaf2; transform: translateY(-1px); }
.hc-action-cta:active { transform: scale(.97); }
.hc-action-cta.secondary {
  background: rgb(255 250 242 / .08);
  border: 1px solid rgb(231 194 191 / .34);
  color: #fffaf2;
  font-weight: 600;
}
.hc-action-cta.secondary:hover {
  background: rgb(255 250 242 / .16);
  border-color: var(--hc-champagne);
}

/* Cross-World Velvet Invitation Card (Salon / Classes / Podcast / Hub) */
.hc-world-card {
  position: relative;
  isolation: isolate;
  padding: 16px 17px;
  background: linear-gradient(142deg, #1d0f17 0%, #311925 60%, #24111b 100%);
  color: #fffaf2;
  border: 1px solid rgb(231 194 191 / .28);
  border-left: 3px solid var(--hc-champagne);
  border-radius: 4px 14px 14px 4px;
  display: grid;
  gap: 8px;
  min-width: 0;
  box-shadow: 0 12px 28px rgb(15 7 12 / .22);
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), border-color .22s ease, box-shadow .22s ease;
}
.hc-world-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: -1;
  pointer-events: none;
  border-radius: 2px 10px 10px 2px;
  border: 1px solid rgb(231 194 191 / .13);
  transition: border-color .22s ease;
}
.hc-world-card:hover {
  transform: translateY(-2px);
  border-color: rgb(242 220 203 / .5);
  box-shadow: 0 16px 34px rgb(15 7 12 / .3);
}
.hc-world-card:hover::before {
  border-color: rgb(242 220 203 / .24);
}
.hc-world-card[data-world="salon"] { border-left-color: #d4708a; }
.hc-world-card[data-world="classes"] { border-left-color: #c9a679; }
.hc-world-card[data-world="podcast"] { border-left-color: #df9ea9; }
.hc-world-card[data-world="hub"] { border-left-color: var(--hc-blush); }

.hc-world-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hc-world-eyebrow {
  font: 600 11.5px/1.15 var(--hc-font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-champagne);
}
.hc-world-domain {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(255 250 242 / .1);
  border: 1px solid rgb(231 194 191 / .24);
  font: 500 12px/1.2 var(--hc-font-mono);
  color: #fffaf2;
  white-space: nowrap;
}
.hc-world-title {
  margin: 0;
  font: italic 400 24px/1.08 var(--hc-font-display);
  color: #fffaf2;
}
.hc-world-sub {
  margin: -3px 0 0;
  font: 500 13.5px/1.3 var(--hc-font-sans);
  color: var(--hc-blush);
}
.hc-world-desc {
  margin: 0;
  font: 400 14px/1.48 var(--hc-font-sans);
  color: rgb(255 250 242 / .86);
}
.hc-world-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 3px;
}
.hc-world-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 4px;
  background: var(--hc-champagne);
  color: var(--hc-dark);
  font: 700 13.5px/1.15 var(--hc-font-sans);
  transition: background .18s ease, transform .16s cubic-bezier(.22, 1, .36, 1);
}
.hc-world-cta:hover { background: #fffaf2; transform: translateY(-1px); }
.hc-world-cta:active { transform: scale(.97); }
.hc-world-secondary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid rgb(231 194 191 / .34);
  background: rgb(255 250 242 / .07);
  color: #fffaf2;
  font: 600 13.5px/1.15 var(--hc-font-sans);
  transition: border-color .18s ease, background .18s ease, transform .14s ease;
}
.hc-world-secondary:hover {
  border-color: var(--hc-champagne);
  background: rgb(255 250 242 / .15);
}
.hc-world-secondary:active { transform: scale(.97); }

.hc-look-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px;
  background: var(--hc-card);
  border: 1px solid var(--hc-rule);
  border-radius: 6px;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .16s ease, box-shadow .18s ease;
}
.hc-look-card:hover {
  border-color: var(--hc-cherry);
  background: #fdf6f5;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgb(38 24 31 / .07);
}
.hc-look-card:active { transform: scale(.99); }
.hc-look-thumb {
  position: relative;
  width: 52px;
  height: 62px;
  flex: none;
  overflow: hidden;
  border-radius: 3px;
  background: var(--hc-dark);
}
.hc-look-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hc-look-thumb span {
  position: absolute;
  bottom: 2px;
  right: 2px;
  padding: 2px 4px;
  background: rgb(23 14 20 / .84);
  color: #fffaf2;
  font: 600 9px/1 var(--hc-font-mono);
}
.hc-look-info { flex: 1; min-width: 0; }
.hc-look-info strong {
  display: block;
  font: italic 400 23px/1.05 var(--hc-font-display);
  color: var(--hc-ink);
}
.hc-look-info small {
  display: block;
  margin-top: 3px;
  font: 500 13px/1.3 var(--hc-font-sans);
  color: var(--hc-muted);
}
.hc-look-card > em {
  font-style: normal;
  padding-right: 6px;
  color: var(--hc-cherry);
  font-weight: 600;
}

.hc-svc-card {
  padding: 14px 15px;
  background: linear-gradient(145deg, #f0e8dd 0%, #e9dfd2 100%);
  border: 1px solid var(--hc-rule);
  border-left: 3px solid var(--hc-cherry);
  border-radius: 3px 10px 10px 3px;
  display: grid;
  gap: 8px;
  min-width: 0;
  box-shadow: 0 6px 18px rgb(38 24 31 / .05);
}
.hc-svc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.hc-svc-head strong { font: 600 14px/1.25 var(--hc-font-sans); color: var(--hc-ink); }
.hc-svc-head em {
  font: 700 14.5px/1 var(--hc-font-mono);
  font-variant-numeric: tabular-nums;
  font-style: normal;
  color: var(--hc-cherry);
  white-space: nowrap;
}
.hc-svc-card p { margin: 0; font-size: 12.5px; line-height: 1.48; color: var(--hc-muted); }
.hc-svc-card p strong { color: var(--hc-ink); }
.hc-svc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-svc-book {
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 4px;
  background: var(--hc-cherry);
  color: #fffaf2;
  font: 600 13.5px/1.2 var(--hc-font-sans);
  transition: background .18s ease, transform .14s ease;
}
.hc-svc-book:hover { background: var(--hc-bordeaux); }
.hc-svc-book:active { transform: scale(.97); }
.hc-svc-acuity {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid var(--hc-rule);
  background: var(--hc-card);
  color: var(--hc-ink);
  font: 600 13.5px/1.2 var(--hc-font-sans);
  transition: border-color .18s ease, color .18s ease;
}
.hc-svc-acuity:hover { border-color: var(--hc-cherry); color: var(--hc-cherry); }

/* Refined Typing Indicator Dots */
.hc-typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--hc-card);
  border: 1px solid rgb(38 24 31 / .11);
  border-radius: 3px 16px 16px 16px;
  box-shadow: 0 6px 18px rgb(38 24 31 / .05);
  align-self: flex-start;
  animation: hc-fade-up .22s cubic-bezier(.22, 1, .36, 1) both;
}
.hc-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hc-cherry) 0%, #c05875 100%);
  opacity: .32;
  animation: hc-bounce 1.2s cubic-bezier(.45, .05, .55, .95) infinite;
}
.hc-typing span:nth-child(2) { animation-delay: .18s; }
.hc-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes hc-bounce {
  0%, 75%, 100% { transform: translateY(0) scale(.9); opacity: .32; }
  35% { transform: translateY(-4px) scale(1.12); opacity: 1; }
}

/* Tactile Sculpted Prompt Chips */
.hc-chips {
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--hc-rule);
  background: var(--hc-paper);
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: none;
}
.hc-chips::-webkit-scrollbar { display: none; }
.hc-chip {
  flex: none;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgb(140 41 70 / .24);
  background: linear-gradient(180deg, #fffefb 0%, #f8f1e9 100%);
  color: var(--hc-cherry);
  font: 500 13.5px/1.2 var(--hc-font-sans);
  border-radius: 999px;
  box-shadow:
    0 2px 8px rgb(38 24 31 / .06),
    inset 0 1px 0 rgb(255 255 255 / .92);
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .14s cubic-bezier(.22, 1, .36, 1), box-shadow .18s ease;
}
.hc-chip:hover,
.hc-chip:focus-visible,
.hc-chip.is-active {
  background: linear-gradient(135deg, #a13052 0%, var(--hc-cherry) 58%, var(--hc-cherry-deep) 100%);
  border-color: rgb(242 220 203 / .56);
  color: #fffaf2;
  transform: translateY(-1px);
  box-shadow:
    0 8px 18px rgb(140 41 70 / .3),
    0 0 14px rgb(212 112 138 / .28),
    inset 0 1px 0 rgb(255 250 242 / .28);
}
.hc-chip:active { transform: scale(.96); }

/* Input Composer */
.hc-compose {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px max(16px, env(safe-area-inset-right, 0px)) max(15px, calc(env(safe-area-inset-bottom, 0px) + 10px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--hc-inset);
  border-top: 1px solid var(--hc-rule);
  flex: none;
}
.hc-compose input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgb(38 24 31 / .16);
  background: var(--hc-card);
  color: var(--hc-ink);
  font: 400 17px/1.35 var(--hc-font-sans);
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.hc-compose input::placeholder {
  color: var(--hc-muted);
  opacity: .82;
}
.hc-compose input:focus {
  border-color: var(--hc-cherry);
  box-shadow: 0 0 0 3px rgb(140 41 70 / .1);
  outline: none;
}
.hc-compose button {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--hc-cherry);
  color: #fffaf2;
  font-size: 21px;
  line-height: 1;
  box-shadow: 0 6px 16px rgb(140 41 70 / .24);
  transition: background .18s ease, transform .14s cubic-bezier(.22, 1, .36, 1), opacity .18s ease;
}
.hc-compose button:hover { background: var(--hc-bordeaux); }
.hc-compose button:active { transform: scale(.94); }
.hc-compose button:disabled {
  opacity: .52;
  transform: none;
  box-shadow: none;
}

@media (min-width: 1800px) {
  .hc-drawer { width: 540px; }
}
@media (max-width: 560px) {
  .hc-launcher {
    padding: 4px 12px 4px 5px;
    gap: 8px;
    bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 10px));
    right: max(14px, calc(env(safe-area-inset-right, 0px) + 10px));
  }
  .hc-launcher-avatar { width: 32px; height: 32px; }
  .hc-launcher-text strong { font-size: 12px; }
  .hc-launcher-text small { display: none; }
  .hc-drawer { width: 100vw; border-left: 0; }
  .hc-head {
    padding-top: max(14px, calc(env(safe-area-inset-top, 0px) + 8px));
    padding-bottom: 13px;
  }
  .hc-head-context { display: none; }
  .hc-starter-hint { display: none; }
  .hc-compose input { font-size: 16px; }
  .hc-compose {
    padding-bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  }
  .hc-world-top { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .hc-launcher-avatar { width: 30px; height: 30px; }
  .hc-head { gap: 10px; padding-inline: 14px; }
  .hc-head-avatar { width: 40px; height: 40px; }
  .hc-head-meta h2 { font-size: 24px; }
  .hc-ai-pill { font-size: 10px; padding: 2.5px 7px 2.5px 6px; }
  .hc-starter-bar,
  .hc-plan-bar,
  .hc-thread { padding-inline: 14px; }
  .hc-wizard-body { padding: 12px; }
  .hc-wizard-opt { padding: 10px 11px; gap: 9px; }
  .hc-wizard-submit { width: 100%; text-align: center; }
  .hc-chips,
  .hc-compose { padding-inline: 12px; }
}
@media (max-height: 520px) {
  .hc-head {
    padding: max(8px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) 8px max(14px, env(safe-area-inset-left, 0px));
    gap: 10px;
  }
  .hc-head-avatar { width: 34px; height: 34px; }
  .hc-head-meta { gap: 3px; }
  .hc-head-meta h2 { font-size: 20px; }
  .hc-ai-pill { font-size: 10px; padding: 2px 7px; }
  .hc-head-context { display: none; }
  .hc-icon-btn { width: 32px; height: 32px; font-size: 14px; }
  .hc-starter-bar { padding: 6px 14px; }
  .hc-wizard-trigger { min-height: 30px; padding: 5px 11px; font-size: 11.5px; }
  .hc-starter-hint { display: none; }
  .hc-plan-bar { padding: 6px 14px; }
  .hc-thread { padding: 10px 14px; gap: 10px; }
  .hc-bubble { padding: 10px 13px; font-size: 13px; line-height: 1.48; }
  .hc-wizard-head { padding: 9px 12px; }
  .hc-wizard-head h3 { font-size: 19px; }
  .hc-wizard-body { padding: 10px 12px; gap: 8px; }
  .hc-wizard-options { gap: 5px; }
  .hc-wizard-opt { min-height: 40px; padding: 7px 10px; }
  .hc-wizard-opt-copy small { display: none; }
  .hc-chips { padding: 6px 14px; }
  .hc-chip { min-height: 30px; padding: 5px 10px; font-size: 11.5px; }
  .hc-compose {
    padding: 7px max(14px, env(safe-area-inset-right, 0px)) max(7px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
  }
  .hc-compose input { min-height: 38px; padding: 8px 11px; font-size: 14px; }
  .hc-compose button { width: 36px; height: 36px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-launcher,
  .hc-launcher::before,
  .hc-launcher-avatar i::after,
  .hc-head-avatar i::after,
  .hc-drawer,
  .hc-backdrop,
  .hc-msg,
  .hc-cards,
  .hc-wizard-card,
  .hc-wizard-body,
  .hc-typing,
  .hc-typing span,
  .hc-stream-cursor,
  .hc-ai-pill,
  .hc-wizard-progress-fill,
  .hc-world-card,
  .hc-action-card,
  .hc-wizard-opt,
  .hc-chip {
    transition: none !important;
    animation: none !important;
  }
}
