:root{
  --hhv2-bg:#070914;
  --hhv2-panel:#0d1020;
  --hhv2-panel-2:#11152a;
  --hhv2-line:rgba(147,165,255,.15);
  --hhv2-text:#f4f7ff;
  --hhv2-muted:#8d98b8;
  --hhv2-accent:#655cff;
  --hhv2-accent2:#37b8ea;
}
*{box-sizing:border-box}
.hhv2-root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--hhv2-bg);color:var(--hhv2-text);display:grid;grid-template-columns:280px minmax(0,1fr);height:100dvh;overflow:hidden}
.hhv2-sidebar{min-width:0;background:linear-gradient(180deg,#0a0d1b,#080a16);border-right:1px solid var(--hhv2-line);display:flex;flex-direction:column;overflow:hidden}
.hhv2-brand{height:64px;display:flex;align-items:center;gap:10px;padding:0 16px;border-bottom:1px solid var(--hhv2-line)}
.hhv2-logo{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font-weight:900;background:linear-gradient(145deg,var(--hhv2-accent),var(--hhv2-accent2));box-shadow:0 10px 28px rgba(74,111,255,.28)}
.hhv2-brand strong{font-size:14px;letter-spacing:.04em}.hhv2-brand small{display:block;color:var(--hhv2-muted);font-size:10px;margin-top:2px}
.hhv2-new{margin:12px 12px 8px;min-height:42px;border:1px solid rgba(103,112,255,.35);border-radius:13px;background:rgba(95,86,255,.14);color:#fff;font-weight:800;cursor:pointer}.hhv2-new:hover{background:rgba(95,86,255,.22)}
.hhv2-list{flex:1;overflow:auto;padding:4px 8px 18px;scrollbar-width:thin;scrollbar-color:rgba(140,160,255,.25) transparent}
.hhv2-section{padding:10px 9px 6px;color:#6f7898;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.hhv2-chat-row{width:100%;display:block;border:0;background:transparent;color:#dfe5f8;border-radius:11px;padding:10px 10px;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.hhv2-chat-row:hover{background:rgba(115,129,215,.09)}.hhv2-chat-row.is-active{background:rgba(91,88,255,.17);color:#fff}
.hhv2-account{border-top:1px solid var(--hhv2-line);padding:12px 14px;color:var(--hhv2-muted);font-size:11px;display:flex;justify-content:space-between;gap:10px}.hhv2-credit{color:#dce4ff;font-weight:800}
.hhv2-main{min-width:0;display:grid;grid-template-rows:56px minmax(0,1fr) auto;height:100dvh;overflow:hidden}
.hhv2-topbar{display:flex;align-items:center;gap:10px;padding:0 18px;border-bottom:1px solid var(--hhv2-line);background:rgba(7,9,20,.94)}
.hhv2-menu{display:none;width:38px;height:38px;border:1px solid var(--hhv2-line);border-radius:11px;background:#101426;color:#fff;font-size:19px;cursor:pointer}
.hhv2-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800;font-size:14px}.hhv2-status{margin-left:auto;color:#6f7898;font-size:11px}
.hhv2-messages{overflow:auto;overscroll-behavior:contain;padding:24px max(18px,calc((100% - 840px)/2)) 34px;scrollbar-width:thin;scrollbar-color:rgba(140,160,255,.22) transparent}
.hhv2-empty{min-height:100%;display:grid;place-items:center;text-align:center;padding:30px}.hhv2-empty-card{max-width:520px}.hhv2-empty .hhv2-logo{margin:0 auto 16px;width:48px;height:48px}.hhv2-empty h2{margin:0 0 8px;font-size:24px}.hhv2-empty p{margin:0;color:var(--hhv2-muted);line-height:1.55}
.hhv2-msg{display:flex;margin:0 0 18px}.hhv2-msg.is-user{justify-content:flex-end}.hhv2-bubble{max-width:min(760px,88%);font-size:14px;line-height:1.58;white-space:pre-wrap;overflow-wrap:anywhere}.hhv2-msg.is-user .hhv2-bubble{padding:11px 14px;border-radius:17px 17px 5px 17px;background:linear-gradient(145deg,#5960e9,#3b83d7);color:#fff}.hhv2-msg.is-assistant .hhv2-bubble{padding:2px 0;color:#edf2ff}
.hhv2-bubble.is-thinking{color:#8f9aba}.hhv2-bubble.is-thinking:after{content:"";display:inline-block;width:14px;animation:hhv2Dots 1.2s steps(4,end) infinite}@keyframes hhv2Dots{0%{content:""}25%{content:"."}50%{content:".."}75%,100%{content:"..."}}
.hhv2-sources{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.hhv2-sources a{display:inline-flex;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 9px;border:1px solid var(--hhv2-line);border-radius:10px;color:#aebfff;text-decoration:none;font-size:10px}.hhv2-sources a:hover{border-color:rgba(90,189,242,.44);color:#fff}
.hhv2-older{display:block;margin:0 auto 24px;border:1px solid var(--hhv2-line);border-radius:11px;padding:8px 12px;background:#101426;color:#cfd7f4;cursor:pointer;font-size:11px}
.hhv2-composer-wrap{padding:10px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--hhv2-line);background:linear-gradient(180deg,rgba(7,9,20,.72),#070914)}
.hhv2-composer{width:min(880px,100%);margin:0 auto;display:grid;grid-template-columns:40px minmax(0,1fr) 46px;gap:8px;padding:8px;border:1px solid rgba(142,160,255,.2);border-radius:19px;background:#0d1125;box-shadow:0 18px 45px rgba(0,0,0,.28)}
.hhv2-input{width:100%;min-height:46px;max-height:130px;resize:none;border:0;outline:0;padding:12px 13px;background:transparent;color:#fff;font:inherit;font-size:14px;line-height:1.45}.hhv2-input::placeholder{color:#77809e}
.hhv2-send{width:46px;height:46px;border:0;border-radius:14px;background:linear-gradient(145deg,var(--hhv2-accent),var(--hhv2-accent2));color:#fff;font-size:18px;font-weight:900;cursor:pointer}.hhv2-send:disabled{opacity:.45;cursor:default}
.hhv2-error{max-width:880px;margin:0 auto 8px;color:#ffb8c0;font-size:11px;padding:0 4px}.hhv2-loading{padding:16px;color:var(--hhv2-muted);font-size:12px}
.hhv2-login{position:fixed;inset:0;background:#070914;color:#fff;display:grid;place-items:center;text-align:center;font-family:system-ui,sans-serif;z-index:2147480000}.hhv2-login>div{max-width:440px;padding:30px}.hhv2-login h1{margin:14px 0 6px}.hhv2-login p{color:#929dbc}.hhv2-login a{display:inline-flex;margin-top:14px;padding:11px 18px;border-radius:12px;color:#fff;text-decoration:none;background:linear-gradient(145deg,#655cff,#37b8ea)}.hhv2-logo-mark{width:48px;height:48px;margin:auto;border-radius:14px;display:grid;place-items:center;font-weight:900;background:linear-gradient(145deg,#655cff,#37b8ea)}
.hhv2-overlay{display:none}
@media(max-width:820px){
  .hhv2-root{grid-template-columns:minmax(0,1fr)}
  .hhv2-sidebar{position:fixed;left:0;top:0;bottom:0;width:min(310px,86vw);z-index:50;transform:translateX(-102%);transition:transform .18s ease;box-shadow:22px 0 60px rgba(0,0,0,.5)}
  .hhv2-root.is-sidebar-open .hhv2-sidebar{transform:translateX(0)}
  .hhv2-overlay{display:block;position:fixed;inset:0;z-index:45;border:0;background:rgba(0,0,0,.54);opacity:0;pointer-events:none;transition:opacity .18s ease}.hhv2-root.is-sidebar-open .hhv2-overlay{opacity:1;pointer-events:auto}
  .hhv2-menu{display:inline-grid;place-items:center}
  .hhv2-topbar{padding:0 10px}.hhv2-messages{padding:20px 14px 28px}.hhv2-composer-wrap{padding:8px 10px max(10px,env(safe-area-inset-bottom))}.hhv2-bubble{max-width:92%}
}

/* v0.4.0: lightweight AI controls + lazy Trip Planner loader. */
.hhv2-tools{width:min(880px,100%);margin:0 auto 6px;display:flex;align-items:center;gap:7px;min-height:28px}
.hhv2-web-toggle,.hhv2-ai-mode-toggle,.hhv2-trip-toggle,.hhv2-drive-toggle,.hhv2-gemini-state{height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid var(--hhv2-line);border-radius:10px;background:rgba(16,20,38,.82);color:#9da8c7;font-size:10px;font-weight:800;line-height:1;white-space:nowrap}
.hhv2-web-toggle,.hhv2-ai-mode-toggle,.hhv2-trip-toggle,.hhv2-drive-toggle{cursor:pointer;font-family:inherit}
.hhv2-web-toggle:hover,.hhv2-ai-mode-toggle:hover,.hhv2-trip-toggle:hover,.hhv2-drive-toggle:hover{border-color:rgba(81,184,239,.40);color:#edf4ff}
.hhv2-web-toggle.is-on,.hhv2-ai-mode-toggle.is-on,.hhv2-trip-toggle.is-on,.hhv2-drive-toggle.is-on{border-color:rgba(63,190,235,.48);background:rgba(48,137,208,.15);color:#dff7ff}
.hhv2-gemini-state.is-ready{border-color:rgba(133,103,255,.30);background:rgba(100,82,220,.10);color:#c8c2ff}
.hhv2-ai-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.hhv2-ai-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border:1px solid var(--hhv2-line);border-radius:9px;font-size:9px;font-weight:850;letter-spacing:.01em;background:rgba(16,20,38,.74);color:#a8b3d0}
.hhv2-ai-chip.is-web{border-color:rgba(63,190,235,.28);color:#9ee8ff}
.hhv2-ai-chip.is-gemini{border-color:rgba(133,103,255,.28);color:#c9c2ff}
@media(max-width:820px){.hhv2-tools{padding:0 2px;margin-bottom:5px}.hhv2-web-toggle,.hhv2-ai-mode-toggle,.hhv2-trip-toggle,.hhv2-drive-toggle,.hhv2-gemini-state{height:27px;padding:0 9px}}

/* v0.6.1: Drive mode uses the same compact control language as the rest of V2. */
.hhv2-drive-toggle{position:relative;gap:6px;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}
.hhv2-drive-toggle::before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#66718f;box-shadow:0 0 0 3px rgba(102,113,143,.08)}
.hhv2-drive-toggle.is-on::before{background:#40d6c4;box-shadow:0 0 0 4px rgba(64,214,196,.10)}
.hhv2-drive-toggle.is-on{box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.hhv2-drive-toggle:disabled{opacity:.58;cursor:wait}


/* v0.8.1: device location control. Location is requested only when the user taps it. */
.hhv2-location-toggle{height:28px;display:inline-flex;align-items:center;justify-content:center;max-width:220px;padding:0 10px;border:1px solid var(--hhv2-line);border-radius:10px;background:rgba(16,20,38,.82);color:#9da8c7;font-family:inherit;font-size:10px;font-weight:800;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.hhv2-location-toggle:hover{border-color:rgba(64,214,196,.42);color:#edfdfb}
.hhv2-location-toggle.is-on{border-color:rgba(64,214,196,.38);background:rgba(64,214,196,.09);color:#baf9ef}
.hhv2-location-toggle:disabled{opacity:.62;cursor:wait}
@media(max-width:820px){.hhv2-location-toggle{height:27px;max-width:150px;padding:0 9px}.hhv2-tools{overflow-x:auto;scrollbar-width:none}.hhv2-tools::-webkit-scrollbar{display:none}}

/* v0.8.3 — conversation delete control */
.hhv2-chat-item{position:relative;display:flex;align-items:center;gap:3px;border-radius:11px;min-width:0}
.hhv2-chat-item.is-active{background:rgba(91,88,255,.17)}
.hhv2-chat-item .hhv2-chat-row{flex:1;min-width:0;width:auto;background:transparent}
.hhv2-chat-item.is-active .hhv2-chat-row{background:transparent;color:#fff}
.hhv2-chat-delete{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;padding:0;margin-right:3px;border:0;border-radius:9px;background:transparent;color:#7f89a8;cursor:pointer;opacity:0;transform:scale(.94);transition:opacity .14s ease,background .14s ease,color .14s ease,transform .14s ease}
.hhv2-chat-delete svg{width:15px;height:15px;fill:currentColor;pointer-events:none}
.hhv2-chat-item:hover .hhv2-chat-delete,.hhv2-chat-item:focus-within .hhv2-chat-delete{opacity:1;transform:scale(1)}
.hhv2-chat-delete:hover{background:rgba(255,76,103,.12);color:#ff7f94}
.hhv2-chat-delete:focus-visible{opacity:1;outline:2px solid rgba(255,127,148,.55);outline-offset:1px}
.hhv2-chat-delete:disabled{opacity:.35;cursor:wait}
@media(max-width:850px){.hhv2-chat-delete{opacity:.85;transform:none}}

/* v0.8.4 — permanent delete controls */
.hhv2-section-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hhv2-clear-chats{border:0;background:transparent;color:#7f89a8;font:inherit;font-size:10px;font-weight:800;letter-spacing:.02em;cursor:pointer;padding:5px 6px;border-radius:7px}
.hhv2-clear-chats:hover{background:rgba(255,76,103,.10);color:#ff8296}
.hhv2-clear-chats:focus-visible{outline:2px solid rgba(255,127,148,.5);outline-offset:1px}

/* v1.0.1: assistant links are clickable without enabling model-provided HTML. */
.hhv2-rich-link{color:#75bfff;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;word-break:break-word}
.hhv2-rich-link:hover{color:#b8dcff}
.hhv2-rich-link:focus-visible{outline:2px solid rgba(83,183,255,.65);outline-offset:2px;border-radius:3px}
.hhv2-rich-strong{font-weight:750;color:#fff}


/* v1.0.2 — background chat answers. A conversation can keep thinking while
   the user opens another chat; the sidebar subtly marks in-flight chats. */
.hhv2-chat-item.is-thinking .hhv2-chat-row{position:relative;padding-right:28px}
.hhv2-chat-item.is-thinking .hhv2-chat-row::after{content:"";position:absolute;right:10px;top:50%;width:7px;height:7px;margin-top:-3.5px;border-radius:50%;background:#34d399;box-shadow:0 0 0 0 rgba(52,211,153,.35);animation:hhv2ThinkingPulse 1.35s ease-out infinite}
@keyframes hhv2ThinkingPulse{0%{box-shadow:0 0 0 0 rgba(52,211,153,.35)}70%{box-shadow:0 0 0 7px rgba(52,211,153,0)}100%{box-shadow:0 0 0 0 rgba(52,211,153,0)}}


/* v1.1.0 — private multimodal attachments. */
.hhv2-file-input{display:none!important}
.hhv2-attach{width:40px;height:46px;border:1px solid rgba(142,160,255,.16);border-radius:13px;background:rgba(20,25,48,.72);color:#aeb9d9;font:700 23px/1 system-ui,sans-serif;cursor:pointer;display:grid;place-items:center;padding:0;transition:border-color .15s ease,background .15s ease,color .15s ease}
.hhv2-attach:hover{border-color:rgba(77,190,239,.42);background:rgba(38,75,105,.22);color:#fff}.hhv2-attach:disabled{opacity:.42;cursor:default}
.hhv2-attachments{width:min(880px,100%);margin:0 auto 7px;display:flex;gap:7px;overflow-x:auto;scrollbar-width:none}.hhv2-attachments::-webkit-scrollbar{display:none}.hhv2-attachments.is-empty{display:none}
.hhv2-attachment-chip{min-width:0;max-width:260px;display:flex;align-items:center;gap:8px;padding:7px 8px 7px 10px;border:1px solid rgba(142,160,255,.18);border-radius:12px;background:#10152a;color:#e9eeff}
.hhv2-attachment-icon{font-size:15px;flex:0 0 auto}.hhv2-attachment-info{min-width:0;display:flex;flex-direction:column;line-height:1.15}.hhv2-attachment-info strong{font-size:10px;max-width:185px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hhv2-attachment-info small{font-size:9px;color:#7f8aa8;margin-top:3px}
.hhv2-attachment-remove{width:24px;height:24px;flex:0 0 24px;border:0;border-radius:8px;background:transparent;color:#8c96b5;font-size:17px;cursor:pointer;padding:0}.hhv2-attachment-remove:hover{background:rgba(255,80,105,.12);color:#ff8b9d}
@media(max-width:820px){.hhv2-composer{grid-template-columns:38px minmax(0,1fr) 46px}.hhv2-attach{width:38px}.hhv2-attachment-chip{max-width:220px}.hhv2-attachment-info strong{max-width:150px}}

/* v1.6.6 branding cleanup: keep provider implementation private from UI */
.hhv2-gemini,
.hhv2-gemini-status,
[data-provider="gemini"],
[data-ai-provider="gemini"] {
  display: none !important;
}


/* v1.7.3 account actions: Dashboard + Log out */
.hhv2-account{
  gap:8px;
}
.hhv2-account-info{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  align-items:center;
  gap:8px;
}
.hhv2-account-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.hhv2-account-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:5px;
}
.hhv2-account-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:0 7px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:7px;
  background:rgba(255,255,255,.045);
  color:#cfd4e6;
  text-decoration:none;
  font-size:10px;
  font-weight:750;
  line-height:1;
  white-space:nowrap;
}
.hhv2-account-btn:hover{
  color:#fff;
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.22);
}

/* v1.7.4 image attachment previews */
.hhv2-attachment-chip{
  overflow:hidden;
}
.hhv2-attachment-thumb{
  width:46px;
  height:46px;
  flex:0 0 46px;
  object-fit:cover;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.12);
  background:#0a0d18;
}
.hhv2-message-images{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:9px;
}
.hhv2-message-image-item{
  max-width:min(320px,100%);
}
.hhv2-message-image{
  display:block;
  max-width:100%;
  width:auto;
  max-height:260px;
  object-fit:contain;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:#080b14;
}
.hhv2-message-image-name{
  display:block;
  margin-top:4px;
  max-width:280px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#9aa5c3;
  font-size:10px;
}
@media (max-width:700px){
  .hhv2-message-image{max-height:220px}
  .hhv2-attachment-thumb{width:42px;height:42px;flex-basis:42px}
}

/* v1.7.7 Light / Dark theme toggle */
html[data-hhv2-theme="light"] body,
body[data-hhv2-theme="light"]{
  background:#f4f7fb !important;
  color:#172033 !important;
}

html[data-hhv2-theme="light"] .hhv2-shell,
html[data-hhv2-theme="light"] .hhv2-main,
html[data-hhv2-theme="light"] .hhv2-stage,
html[data-hhv2-theme="light"] .hhv2-content,
html[data-hhv2-theme="light"] .hhv2-chat{
  background:#f4f7fb !important;
  color:#172033 !important;
}

html[data-hhv2-theme="light"] .hhv2-sidebar{
  background:#ffffff !important;
  border-color:#dbe3ef !important;
  color:#172033 !important;
}

html[data-hhv2-theme="light"] .hhv2-brand,
html[data-hhv2-theme="light"] .hhv2-topbar,
html[data-hhv2-theme="light"] .hhv2-account{
  background:#ffffff !important;
  border-color:#dbe3ef !important;
  color:#172033 !important;
}

html[data-hhv2-theme="light"] .hhv2-new-chat,
html[data-hhv2-theme="light"] .hhv2-account-btn,
html[data-hhv2-theme="light"] .hhv2-mode-btn,
html[data-hhv2-theme="light"] .hhv2-chip,
html[data-hhv2-theme="light"] .hhv2-tool-btn{
  background:#f8fafc !important;
  color:#263348 !important;
  border-color:#cfd9e8 !important;
}

html[data-hhv2-theme="light"] .hhv2-new-chat:hover,
html[data-hhv2-theme="light"] .hhv2-account-btn:hover,
html[data-hhv2-theme="light"] .hhv2-mode-btn:hover,
html[data-hhv2-theme="light"] .hhv2-chip:hover,
html[data-hhv2-theme="light"] .hhv2-tool-btn:hover{
  background:#edf2f8 !important;
  color:#111827 !important;
}

html[data-hhv2-theme="light"] .hhv2-chat-item,
html[data-hhv2-theme="light"] .hhv2-chat-row,
html[data-hhv2-theme="light"] .hhv2-history-item{
  color:#243249 !important;
}

html[data-hhv2-theme="light"] .hhv2-chat-item:hover,
html[data-hhv2-theme="light"] .hhv2-chat-item.is-active,
html[data-hhv2-theme="light"] .hhv2-chat-row:hover,
html[data-hhv2-theme="light"] .hhv2-chat-row.is-active{
  background:#edf2f8 !important;
}

html[data-hhv2-theme="light"] .hhv2-empty,
html[data-hhv2-theme="light"] .hhv2-empty h1,
html[data-hhv2-theme="light"] .hhv2-empty h2,
html[data-hhv2-theme="light"] .hhv2-empty p{
  color:#273449 !important;
}

html[data-hhv2-theme="light"] .hhv2-bubble{
  background:#ffffff !important;
  color:#172033 !important;
  border-color:#dbe3ef !important;
}

html[data-hhv2-theme="light"] .hhv2-message.is-user .hhv2-bubble,
html[data-hhv2-theme="light"] .hhv2-message.is-user .hhv2-user-bubble{
  background:#4f7ee8 !important;
  color:#ffffff !important;
  border-color:#4f7ee8 !important;
}

html[data-hhv2-theme="light"] .hhv2-composer-wrap{
  background:linear-gradient(transparent,#f4f7fb 34%) !important;
}

html[data-hhv2-theme="light"] .hhv2-composer{
  background:#ffffff !important;
  border-color:#cfd9e8 !important;
  box-shadow:0 12px 34px rgba(40,55,85,.12) !important;
}

html[data-hhv2-theme="light"] .hhv2-composer textarea,
html[data-hhv2-theme="light"] .hhv2-composer input{
  color:#172033 !important;
  background:transparent !important;
}

html[data-hhv2-theme="light"] .hhv2-composer textarea::placeholder,
html[data-hhv2-theme="light"] .hhv2-composer input::placeholder{
  color:#7a879b !important;
}

html[data-hhv2-theme="light"] .hhv2-attachments,
html[data-hhv2-theme="light"] .hhv2-attachment-chip{
  background:#ffffff !important;
  color:#25334a !important;
  border-color:#cfd9e8 !important;
}

html[data-hhv2-theme="light"] .hhv2-trip-panel,
html[data-hhv2-theme="light"] .hhv2-trip-card,
html[data-hhv2-theme="light"] .hhv2-trip-choice,
html[data-hhv2-theme="light"] .hhv2-route-card{
  background:#ffffff !important;
  color:#172033 !important;
  border-color:#d6dfeb !important;
}

html[data-hhv2-theme="light"] .hhv2-trip-panel input,
html[data-hhv2-theme="light"] .hhv2-trip-panel select,
html[data-hhv2-theme="light"] .hhv2-trip-panel textarea{
  background:#f8fafc !important;
  color:#172033 !important;
  border-color:#cfd9e8 !important;
}

html[data-hhv2-theme="light"] .hhv2-account-name,
html[data-hhv2-theme="light"] .hhv2-credit,
html[data-hhv2-theme="light"] .hhv2-sidebar-title,
html[data-hhv2-theme="light"] .hhv2-recent-title{
  color:#263348 !important;
}

html[data-hhv2-theme="light"] a{
  color:#315ecb;
}

/* Keep media itself unchanged in light mode. */
html[data-hhv2-theme="light"] .hhv2-message-image,
html[data-hhv2-theme="light"] .hhv2-attachment-thumb{
  background:#eef2f7 !important;
}

/* Smooth switch without changing layout. */
.hhv2-shell,
.hhv2-sidebar,
.hhv2-main,
.hhv2-composer,
.hhv2-bubble,
.hhv2-trip-panel,
.hhv2-account{
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}

/* v1.7.8 light mode readability corrections */
html[data-hhv2-theme="light"] .hhv2-msg.is-user .hhv2-bubble{
  background:#4f7ee8 !important;
  color:#ffffff !important;
  border-color:#4f7ee8 !important;
}
html[data-hhv2-theme="light"] .hhv2-msg.is-user .hhv2-bubble *{
  color:#ffffff !important;
}
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble{
  background:#ffffff !important;
  color:#172033 !important;
  border:1px solid #dbe3ef !important;
}
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble p,
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble span,
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble strong,
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble em,
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble li,
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble h1,
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble h2,
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble h3,
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble h4,
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble code,
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble blockquote{
  color:#172033 !important;
}
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-bubble a{
  color:#2458c6 !important;
  text-decoration-color:#2458c6 !important;
}
html[data-hhv2-theme="light"] .hhv2-msg.is-assistant .hhv2-sources a{
  background:#eef3fb !important;
  color:#234eaa !important;
  border-color:#cdd9ec !important;
}
html[data-hhv2-theme="light"] .hhv2-mode-btn.is-active,
html[data-hhv2-theme="light"] .hhv2-chip.is-active,
html[data-hhv2-theme="light"] .hhv2-location-btn,
html[data-hhv2-theme="light"] .hhv2-location-chip{
  background:#e2f6f1 !important;
  color:#0c5b50 !important;
  border-color:#83cfc1 !important;
}
html[data-hhv2-theme="light"] .hhv2-status,
html[data-hhv2-theme="light"] .hhv2-title,
html[data-hhv2-theme="light"] .hhv2-brand strong,
html[data-hhv2-theme="light"] .hhv2-brand small{
  color:#172033 !important;
}
html[data-hhv2-theme="light"] .hhv2-older{
  background:#ffffff !important;
  color:#263348 !important;
  border-color:#cfd9e8 !important;
}
html[data-hhv2-theme="light"] .hhv2-trip-panel button,
html[data-hhv2-theme="light"] .hhv2-trip-card button,
html[data-hhv2-theme="light"] .hhv2-route-card button{
  color:#17324f !important;
}

/* v1.7.9 light-mode location pill contrast */
html[data-hhv2-theme="light"] .hhv2-location-btn,
html[data-hhv2-theme="light"] .hhv2-location-chip,
html[data-hhv2-theme="light"] [class*="location"]{
  color:#0f5132 !important;
}

html[data-hhv2-theme="light"] .hhv2-location-btn,
html[data-hhv2-theme="light"] .hhv2-location-chip{
  background:#d9f5e8 !important;
  border-color:#58b98a !important;
  box-shadow:0 0 0 1px rgba(88,185,138,.15) inset !important;
  font-weight:800 !important;
}

html[data-hhv2-theme="light"] .hhv2-location-btn:hover,
html[data-hhv2-theme="light"] .hhv2-location-chip:hover{
  background:#c6efdd !important;
  border-color:#3c9f70 !important;
  color:#0b3d27 !important;
}

/* Also cover the compact toolbar chip used by the current location badge. */
html[data-hhv2-theme="light"] .hhv2-toolbar .is-location,
html[data-hhv2-theme="light"] .hhv2-toolbar [data-location],
html[data-hhv2-theme="light"] .hhv2-controls .is-location,
html[data-hhv2-theme="light"] .hhv2-controls [data-location]{
  background:#d9f5e8 !important;
  color:#0f5132 !important;
  border-color:#58b98a !important;
  font-weight:800 !important;
}

/* v1.8.1 Mobile UI pass — desktop remains unchanged */
@media (max-width: 760px){

  html, body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  .hhv2-shell{
    min-height:100dvh !important;
    height:100dvh !important;
  }

  .hhv2-main{
    min-width:0 !important;
    width:100% !important;
  }

  .hhv2-topbar{
    min-height:58px !important;
    padding:8px 12px !important;
    gap:8px !important;
  }

  .hhv2-title{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:15px !important;
  }

  .hhv2-status{
    flex:0 0 auto !important;
    font-size:11px !important;
  }

  .hhv2-messages{
    padding:16px 12px 190px !important;
    scroll-padding-bottom:190px !important;
  }

  .hhv2-msg{
    max-width:100% !important;
  }

  .hhv2-msg.is-user{
    padding-left:34px !important;
  }

  .hhv2-msg.is-assistant{
    padding-right:10px !important;
  }

  .hhv2-bubble{
    max-width:100% !important;
    font-size:15px !important;
    line-height:1.55 !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }

  .hhv2-message-image{
    max-width:100% !important;
    width:auto !important;
    height:auto !important;
    max-height:360px !important;
  }

  .hhv2-message-image-item{
    max-width:100% !important;
  }

  .hhv2-composer-wrap{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    z-index:80 !important;
    padding:8px 10px calc(10px + env(safe-area-inset-bottom)) !important;
    background:linear-gradient(transparent, var(--hhv2-bg, #080b14) 24%) !important;
  }

  html[data-hhv2-theme="light"] .hhv2-composer-wrap{
    background:linear-gradient(transparent,#f4f7fb 24%) !important;
  }

  .hhv2-composer{
    width:100% !important;
    max-width:none !important;
    border-radius:18px !important;
    padding:7px !important;
    gap:7px !important;
  }

  .hhv2-composer textarea,
  .hhv2-composer input{
    min-width:0 !important;
    font-size:16px !important; /* prevents iOS zoom */
  }

  .hhv2-composer button{
    min-width:46px !important;
    min-height:46px !important;
  }

  .hhv2-controls,
  .hhv2-toolbar,
  .hhv2-modebar{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    white-space:nowrap !important;
    flex-wrap:nowrap !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch !important;
    padding-bottom:3px !important;
  }

  .hhv2-controls::-webkit-scrollbar,
  .hhv2-toolbar::-webkit-scrollbar,
  .hhv2-modebar::-webkit-scrollbar{
    display:none !important;
  }

  .hhv2-mode-btn,
  .hhv2-location-btn,
  .hhv2-location-chip,
  .hhv2-chip{
    flex:0 0 auto !important;
    max-width:210px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  .hhv2-attachments{
    max-width:100% !important;
    overflow-x:auto !important;
  }

  .hhv2-attachment-chip{
    min-width:0 !important;
    max-width:260px !important;
  }

  .hhv2-attachment-info{
    min-width:0 !important;
  }

  .hhv2-attachment-info strong{
    display:block !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  .hhv2-account{
    padding-bottom:calc(10px + env(safe-area-inset-bottom)) !important;
  }

  .hhv2-account-actions{
    gap:4px !important;
  }

  .hhv2-account-btn{
    min-height:30px !important;
    padding:0 7px !important;
    font-size:10px !important;
  }

  /* Sidebar drawer on mobile only */
  .hhv2-sidebar{
    width:min(86vw,320px) !important;
    max-width:320px !important;
  }

  /* Reduce empty-state vertical waste on phones */
  .hhv2-empty{
    min-height:calc(100dvh - 250px) !important;
    padding:56px 20px 150px !important;
  }
}

/* v1.8.2 mobile sidebar footer visibility */
@media (max-width:760px){

  .hhv2-sidebar{
    display:flex !important;
    flex-direction:column !important;
    height:100dvh !important;
    max-height:100dvh !important;
    overflow:hidden !important;
    padding-bottom:env(safe-area-inset-bottom) !important;
  }

  .hhv2-sidebar .hhv2-chat-list,
  .hhv2-sidebar .hhv2-recent,
  .hhv2-sidebar .hhv2-history{
    min-height:0 !important;
    flex:1 1 auto !important;
    overflow-y:auto !important;
    overscroll-behavior:contain !important;
    padding-bottom:12px !important;
  }

  .hhv2-account{
    position:sticky !important;
    bottom:0 !important;
    left:0 !important;
    right:0 !important;
    flex:0 0 auto !important;
    width:100% !important;
    margin-top:auto !important;
    padding:10px 12px calc(12px + env(safe-area-inset-bottom)) !important;
    background:var(--hhv2-sidebar-bg,#0b0e19) !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
    z-index:6 !important;
  }

  html[data-hhv2-theme="light"] .hhv2-account{
    background:#ffffff !important;
    border-top-color:#dbe3ef !important;
  }

  .hhv2-account-info{
    min-width:0 !important;
    flex:1 1 auto !important;
  }

  .hhv2-account-actions{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-end !important;
    gap:5px !important;
    max-width:55% !important;
  }

  .hhv2-account-btn{
    min-height:32px !important;
    padding:0 8px !important;
    font-size:10px !important;
  }
}


/* v1.8.3 mobile sidebar must sit above the fixed composer */
@media (max-width:820px){
  .hhv2-sidebar{z-index:120 !important;}
  .hhv2-overlay{z-index:110 !important;}
  .hhv2-root.is-sidebar-open .hhv2-composer-wrap{pointer-events:none !important;}
}


/* v1.8.4 mobile account footer polish */
@media (max-width:760px){
  .hhv2-account{
    align-items:flex-end !important;
    gap:10px !important;
    padding:12px 12px calc(14px + env(safe-area-inset-bottom)) !important;
  }

  .hhv2-account-info{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-end !important;
    gap:6px !important;
    min-width:0 !important;
  }

  .hhv2-account-name{
    max-width:100% !important;
    font-size:12px !important;
    font-weight:700 !important;
    color:var(--hhv2-text) !important;
  }

  .hhv2-credit{
    display:inline-flex !important;
    align-items:center !important;
    padding:4px 8px !important;
    border-radius:999px !important;
    background:rgba(93,101,255,.14) !important;
    color:#dfe6ff !important;
    font-size:11px !important;
    font-weight:800 !important;
    line-height:1 !important;
  }

  .hhv2-account-actions{
    flex:0 0 112px !important;
    width:112px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:8px !important;
    max-width:none !important;
  }

  .hhv2-account-btn{
    width:100% !important;
    min-height:36px !important;
    padding:0 12px !important;
    border-radius:12px !important;
    border:1px solid rgba(255,255,255,.10) !important;
    background:rgba(255,255,255,.06) !important;
    color:#eef2ff !important;
    font-size:12px !important;
    font-weight:800 !important;
    box-shadow:0 6px 16px rgba(0,0,0,.16) !important;
  }

  .hhv2-account-btn:hover,
  .hhv2-account-btn:active{
    background:rgba(255,255,255,.10) !important;
    border-color:rgba(255,255,255,.18) !important;
    color:#ffffff !important;
  }

  html[data-hhv2-theme="light"] .hhv2-account-name{color:#172033 !important;}
  html[data-hhv2-theme="light"] .hhv2-credit{
    background:#e8f7ef !important;
    color:#16734e !important;
  }
  html[data-hhv2-theme="light"] .hhv2-account-btn{
    border-color:#d9e2ee !important;
    background:#ffffff !important;
    color:#263348 !important;
    box-shadow:0 6px 14px rgba(19,35,67,.08) !important;
  }
  html[data-hhv2-theme="light"] .hhv2-account-btn:hover,
  html[data-hhv2-theme="light"] .hhv2-account-btn:active{
    background:#f4f7fb !important;
    border-color:#c7d3e4 !important;
    color:#0f172a !important;
  }
}

/* v1.8.5 installable HEYHEY app */
.hhv2-install-btn[hidden]{
  display:none !important;
}

@media (display-mode:standalone){
  body{
    overscroll-behavior:none;
  }

  .hhv2-root{
    min-height:100dvh;
  }
}

@media (max-width:760px){
  .hhv2-install-btn{
    border-color:rgba(73,184,239,.30) !important;
  }

  html[data-hhv2-theme="light"] .hhv2-install-btn{
    background:#eef6ff !important;
    border-color:#c5daf4 !important;
    color:#2458a8 !important;
  }
}


/* v1.8.8 — first-login guided tour */
.hhv2-tour-overlay{position:fixed;inset:0;z-index:10000;pointer-events:auto;font-family:inherit}
.hhv2-tour-shade{position:absolute;inset:0;background:rgba(2,6,23,.72);backdrop-filter:blur(1px)}
.hhv2-tour-spotlight{position:fixed;border:2px solid rgba(99,102,241,.95);border-radius:16px;box-shadow:0 0 0 5px rgba(99,102,241,.18),0 14px 50px rgba(0,0,0,.38);background:rgba(255,255,255,.035);transition:left .2s ease,top .2s ease,width .2s ease,height .2s ease;pointer-events:none}
.hhv2-tour-card{position:fixed;z-index:2;max-width:calc(100vw - 28px);padding:20px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:#101522;color:#f8fafc;box-shadow:0 24px 70px rgba(0,0,0,.48)}
.hhv2-tour-progress{margin-bottom:8px;color:#a5b4fc;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hhv2-tour-title{margin:0 0 8px;font-size:20px;line-height:1.2;color:#fff}
.hhv2-tour-text{margin:0;color:#cbd5e1;font-size:14px;line-height:1.55}
.hhv2-tour-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}
.hhv2-tour-nav{display:flex;align-items:center;gap:8px;margin-left:auto}
.hhv2-tour-skip,.hhv2-tour-secondary,.hhv2-tour-primary{min-height:38px;padding:0 14px;border-radius:11px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.hhv2-tour-skip,.hhv2-tour-secondary{border:1px solid rgba(255,255,255,.12);background:transparent;color:#cbd5e1}
.hhv2-tour-primary{border:1px solid #6366f1;background:#6366f1;color:#fff}
.hhv2-tour-primary:hover{background:#5558e8}.hhv2-tour-skip:hover,.hhv2-tour-secondary:hover{background:rgba(255,255,255,.07);color:#fff}
html[data-hhv2-theme="light"] .hhv2-tour-card{background:#fff;color:#0f172a;border-color:#dbe3ef;box-shadow:0 24px 70px rgba(15,23,42,.22)}
html[data-hhv2-theme="light"] .hhv2-tour-title{color:#0f172a}html[data-hhv2-theme="light"] .hhv2-tour-text{color:#475569}
html[data-hhv2-theme="light"] .hhv2-tour-skip,html[data-hhv2-theme="light"] .hhv2-tour-secondary{border-color:#dbe3ef;color:#475569}
@media(max-width:820px){
  .hhv2-tour-card{padding:17px;border-radius:16px}.hhv2-tour-title{font-size:18px}.hhv2-tour-text{font-size:13px}.hhv2-tour-actions{align-items:flex-end}.hhv2-tour-skip,.hhv2-tour-secondary,.hhv2-tour-primary{min-height:40px;padding:0 12px}
  .hhv2-root.is-tour-active .hhv2-sidebar{z-index:9998 !important}.hhv2-root.is-tour-active .hhv2-overlay{z-index:9997 !important}
}

/* v1.8.9 onboarding: explicit persistent opt-out. */
.hhv2-tour-dismiss{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hhv2-tour-never{min-height:38px;padding:0 12px;border:1px solid rgba(248,113,113,.35);border-radius:11px;background:rgba(248,113,113,.08);color:#fecaca;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.hhv2-tour-never:hover{background:rgba(248,113,113,.16);color:#fff}
html[data-hhv2-theme="light"] .hhv2-tour-never{border-color:#fecaca;background:#fff7f7;color:#b91c1c}
html[data-hhv2-theme="light"] .hhv2-tour-never:hover{background:#fee2e2;color:#991b1b}
@media(max-width:520px){.hhv2-tour-actions{flex-direction:column;align-items:stretch}.hhv2-tour-dismiss{justify-content:space-between}.hhv2-tour-nav{justify-content:flex-end;margin-left:0}.hhv2-tour-never,.hhv2-tour-skip{flex:1}}


/* v1.8.10 — Android/mobile onboarding viewport fix. */
@media(max-width:820px){
  .hhv2-tour-overlay{position:fixed !important;inset:0 !important;width:100vw !important;height:100dvh !important;overflow:hidden !important}
  .hhv2-tour-card{
    position:fixed !important;
    left:12px !important;right:12px !important;top:auto !important;
    bottom:calc(112px + env(safe-area-inset-bottom, 0px)) !important;
    width:auto !important;max-width:none !important;max-height:min(58dvh,520px) !important;
    overflow:auto !important;overscroll-behavior:contain;
    z-index:10002 !important;box-sizing:border-box;
  }
  .hhv2-tour-shade{position:fixed !important;inset:0 !important;height:100dvh !important}
  .hhv2-tour-spotlight{z-index:10001 !important}
}
@media(max-width:520px){
  .hhv2-tour-card{bottom:calc(104px + env(safe-area-inset-bottom, 0px)) !important;padding:15px !important}
  .hhv2-tour-actions{gap:8px !important;margin-top:13px !important}
}


/* v1.8.11 — robust mobile onboarding visibility fallback */
.hhv2-tour-overlay{z-index:2147483000 !important}
.hhv2-tour-card{z-index:2147483002 !important;display:block !important;visibility:visible !important;opacity:1 !important}
@media(max-width:820px){
  .hhv2-tour-card{left:50% !important;right:auto !important;bottom:auto !important;transform:translateX(-50%) !important;width:calc(100vw - 24px) !important;max-width:520px !important;}
}

/* Clear first actions on desktop and mobile. */
.hhv2-start-actions{display:grid;gap:14px;margin:26px auto 16px;max-width:520px}
.hhv2-empty-card{max-width:620px}
.hhv2-empty-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 auto 12px;padding:6px 12px;border:1px solid rgba(111,134,228,.35);border-radius:999px;background:rgba(77,98,204,.14);color:#aebfff;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.hhv2-start-button,.hhv2-resume-trial{
  position:relative;display:grid;gap:4px;align-items:start;text-align:left;font:inherit;min-height:88px;padding:16px 18px 16px 20px;border:1px solid rgba(126,144,214,.38);
  border-radius:18px;background:linear-gradient(180deg,rgba(18,28,58,.96),rgba(12,18,38,.98));color:#fff;cursor:pointer;overflow:hidden;
  box-shadow:0 8px 28px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
  transition:transform .18s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.hhv2-start-button::before,.hhv2-resume-trial::before{
  content:'';position:absolute;inset:0 auto 0 0;width:4px;border-radius:18px 0 0 18px;background:linear-gradient(180deg,#69d2ff,#6672ff);
}
.hhv2-start-button::after{
  content:'';position:absolute;right:-40px;top:-40px;width:120px;height:120px;border-radius:50%;
  background:radial-gradient(circle,rgba(120,165,255,.24),rgba(120,165,255,0) 70%);pointer-events:none;transition:transform .22s ease, opacity .22s ease;opacity:.85;
}
.hhv2-start-button:hover,.hhv2-start-button:focus-visible,.hhv2-resume-trial:hover,.hhv2-resume-trial:focus-visible{
  transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.28),0 0 0 1px rgba(118,155,255,.12) inset;border-color:rgba(121,153,255,.55);
}
.hhv2-start-button:hover::after,.hhv2-start-button:focus-visible::after{transform:scale(1.12);opacity:1}
.hhv2-start-button:focus-visible,.hhv2-resume-trial:focus-visible{outline:3px solid #54cce8;outline-offset:3px}
.hhv2-start-button-badge{display:inline-flex;align-items:center;width:max-content;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#dfe6ff}
.hhv2-start-button-title{display:block;font-size:18px;font-weight:800;line-height:1.2;letter-spacing:.01em}
.hhv2-start-button-desc{display:block;font-size:13px;line-height:1.45;color:#9fb0de;max-width:36ch}
.hhv2-start-button--trip{background:linear-gradient(180deg,rgba(58,78,196,.96),rgba(24,34,82,.98))}
.hhv2-start-button--trip::before{background:linear-gradient(180deg,#65d1ff,#89a1ff)}
.hhv2-start-button--ideas{background:linear-gradient(180deg,rgba(18,49,86,.96),rgba(10,21,48,.98))}
.hhv2-start-button--ideas::before{background:linear-gradient(180deg,#66d2c4,#67a7ff)}
.hhv2-start-button--chat{background:linear-gradient(180deg,rgba(40,24,91,.96),rgba(16,15,46,.98))}
.hhv2-start-button--chat::before{background:linear-gradient(180deg,#9d7dff,#57c7ff)}
.hhv2-trial-note{font-size:14px!important;line-height:1.5}
.hhv2-trial-status{padding:12px 16px;border:1px solid #7280a7;border-radius:12px;margin:12px 0;font-size:13px;line-height:1.5}.hhv2-trial-status a{color:inherit;text-decoration:underline;font-weight:700}
@media(max-width:700px){
  .hhv2-start-actions{max-width:100%}
  .hhv2-start-button,.hhv2-resume-trial{min-height:82px;padding:14px 16px 14px 18px}
  .hhv2-start-button-title{font-size:17px}
}


/* v1.8.43 — Live weather atmosphere on the HEYHEY start screen */
.hhv2-empty{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  transition:background .8s ease;
}
.hhv2-empty::before,
.hhv2-empty::after{
  content:'';
  position:absolute;
  inset:-12%;
  z-index:-2;
  pointer-events:none;
  opacity:0;
  transition:opacity .8s ease,background .8s ease;
}
.hhv2-empty::after{z-index:-1}
.hhv2-empty-card{
  position:relative;
  z-index:2;
  width:min(620px,100%);
}
.hhv2-welcome-weather{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:max-content;
  max-width:100%;
  margin:0 auto 13px;
  padding:7px 11px;
  border:1px solid rgba(160,185,255,.18);
  border-radius:999px;
  background:rgba(8,15,36,.48);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 26px rgba(0,0,0,.14);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.hhv2-welcome-weather[hidden]{display:none!important}
.hhv2-welcome-weather-icon{font-size:20px;line-height:1}
.hhv2-welcome-weather-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
  text-align:left;
}
.hhv2-welcome-weather-copy strong{
  max-width:260px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#f5f8ff;
  font-size:12px;
  line-height:1.2;
}
.hhv2-welcome-weather-copy small{
  color:#9fb0d8;
  font-size:9px;
  line-height:1.25;
}

/* Clear / sunny */
.hhv2-empty.is-weather-sunny::before{
  opacity:1;
  background:
    radial-gradient(circle at 76% 20%,rgba(255,205,94,.30),transparent 16%),
    radial-gradient(circle at 70% 28%,rgba(88,175,255,.16),transparent 35%),
    linear-gradient(180deg,rgba(21,47,98,.24),transparent 70%);
}
.hhv2-empty.is-weather-sunny::after{
  opacity:.7;
  background:radial-gradient(circle at 76% 20%,rgba(255,239,171,.34),transparent 7%);
  animation:hhv2WeatherGlow 5s ease-in-out infinite;
}

/* Partly cloudy / cloudy */
.hhv2-empty.is-weather-partly-cloudy::before,
.hhv2-empty.is-weather-cloudy::before{
  opacity:1;
  background:
    radial-gradient(ellipse at 25% 22%,rgba(145,175,216,.15),transparent 28%),
    radial-gradient(ellipse at 75% 18%,rgba(118,145,190,.13),transparent 30%),
    linear-gradient(180deg,rgba(37,55,92,.24),transparent 72%);
}
.hhv2-empty.is-weather-cloudy::after{
  opacity:.55;
  background:
    radial-gradient(ellipse at 16% 18%,rgba(206,220,239,.10),transparent 22%),
    radial-gradient(ellipse at 84% 32%,rgba(206,220,239,.08),transparent 24%);
  animation:hhv2CloudDrift 12s ease-in-out infinite alternate;
}

/* Rain */
.hhv2-empty.is-weather-rain::before{
  opacity:1;
  background:
    linear-gradient(180deg,rgba(19,42,76,.38),rgba(6,12,28,.08) 68%,transparent),
    radial-gradient(ellipse at 50% 0%,rgba(70,125,175,.16),transparent 54%);
}
.hhv2-empty.is-weather-rain::after{
  opacity:.36;
  background-image:repeating-linear-gradient(108deg,transparent 0 22px,rgba(112,188,255,.28) 23px 24px,transparent 25px 48px);
  background-size:180px 180px;
  animation:hhv2RainMove 1.5s linear infinite;
}

/* Snow */
.hhv2-empty.is-weather-snow::before{
  opacity:1;
  background:linear-gradient(180deg,rgba(85,127,170,.25),rgba(12,23,46,.08) 68%,transparent);
}
.hhv2-empty.is-weather-snow::after{
  opacity:.55;
  background-image:
    radial-gradient(circle,rgba(255,255,255,.85) 0 1.2px,transparent 1.7px),
    radial-gradient(circle,rgba(220,239,255,.62) 0 1px,transparent 1.5px);
  background-size:74px 74px,112px 112px;
  background-position:0 0,36px 18px;
  animation:hhv2SnowFall 9s linear infinite;
}

/* Fog */
.hhv2-empty.is-weather-fog::before{
  opacity:1;
  background:
    linear-gradient(180deg,rgba(173,191,207,.16),transparent 42%),
    radial-gradient(ellipse at 50% 48%,rgba(205,219,229,.12),transparent 48%);
  filter:blur(10px);
  animation:hhv2FogMove 9s ease-in-out infinite alternate;
}

/* Storm */
.hhv2-empty.is-weather-storm::before{
  opacity:1;
  background:
    radial-gradient(circle at 72% 16%,rgba(122,120,255,.20),transparent 18%),
    linear-gradient(180deg,rgba(30,31,67,.46),rgba(7,10,24,.12) 68%,transparent);
}
.hhv2-empty.is-weather-storm::after{
  opacity:.45;
  background:radial-gradient(circle at 72% 16%,rgba(205,210,255,.22),transparent 8%);
  animation:hhv2StormPulse 6s ease-in-out infinite;
}

/* Night modifier */
.hhv2-empty.is-weather-night::before{
  opacity:1;
  background:
    radial-gradient(circle at 78% 17%,rgba(167,188,255,.18),transparent 10%),
    radial-gradient(circle at 16% 24%,rgba(95,118,205,.11),transparent 24%),
    linear-gradient(180deg,rgba(8,14,43,.44),transparent 72%);
}
.hhv2-empty.is-weather-night::after{
  opacity:.5;
  background-image:
    radial-gradient(circle,rgba(255,255,255,.72) 0 1px,transparent 1.4px),
    radial-gradient(circle,rgba(165,198,255,.48) 0 1px,transparent 1.3px);
  background-size:110px 110px,170px 170px;
  background-position:20px 10px,80px 50px;
  animation:hhv2StarTwinkle 5s ease-in-out infinite alternate;
}

@keyframes hhv2WeatherGlow{
  0%,100%{transform:scale(.96);opacity:.45}
  50%{transform:scale(1.08);opacity:.78}
}
@keyframes hhv2CloudDrift{
  from{transform:translate3d(-2%,0,0)}
  to{transform:translate3d(2%,1%,0)}
}
@keyframes hhv2RainMove{
  from{transform:translate3d(0,-45px,0)}
  to{transform:translate3d(-22px,45px,0)}
}
@keyframes hhv2SnowFall{
  from{transform:translate3d(0,-90px,0)}
  to{transform:translate3d(22px,90px,0)}
}
@keyframes hhv2FogMove{
  from{transform:translateX(-2%) scale(1.01)}
  to{transform:translateX(2%) scale(1.04)}
}
@keyframes hhv2StormPulse{
  0%,86%,100%{opacity:.18}
  89%{opacity:.58}
  91%{opacity:.22}
  94%{opacity:.48}
}
@keyframes hhv2StarTwinkle{
  from{opacity:.30}
  to{opacity:.58}
}
@media(prefers-reduced-motion:reduce){
  .hhv2-empty::before,
  .hhv2-empty::after{animation:none!important}
}
@media(max-width:700px){
  .hhv2-welcome-weather-copy strong{max-width:190px}
}


/* v1.8.44 — HEYHEY floating assistant avatar */
.hhv2-main{position:relative}
.hhv2-assistant{
  position:fixed;
  right:24px;
  bottom:126px;
  z-index:60;
  display:flex;
  align-items:flex-end;
  gap:10px;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  transition:transform .18s ease;
}
.hhv2-assistant:hover{transform:translateY(-2px)}
.hhv2-assistant-bubble{
  max-width:190px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  padding:10px 12px;
  border-radius:16px 16px 4px 16px;
  border:1px solid rgba(116,145,231,.24);
  background:rgba(7,14,33,.84);
  box-shadow:0 14px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.hhv2-assistant-bubble strong{color:#f5f8ff;font-size:12px;line-height:1.15;letter-spacing:.04em}
.hhv2-assistant-bubble small{color:#9fb0de;font-size:11px;line-height:1.3}
.hhv2-assistant-figure{
  position:relative;
  width:96px;
  height:96px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  border-radius:999px;
  background:radial-gradient(circle at 50% 38%, rgba(83,122,255,.18), rgba(17,26,62,.04) 58%, transparent 70%);
}
.hhv2-assistant-img{
  width:96px;
  height:96px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 12px 22px rgba(0,0,0,.28)) drop-shadow(0 0 18px rgba(72,176,255,.15));
  animation:hhv2AssistantFloat 4.6s ease-in-out infinite;
  transform-origin:center bottom;
}
.hhv2-assistant-thought{
  position:absolute;
  top:-2px;
  right:4px;
  display:flex;
  align-items:center;
  gap:4px;
  padding:6px 8px;
  border-radius:999px;
  background:rgba(10,18,42,.88);
  border:1px solid rgba(120,157,255,.2);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.hhv2-assistant-thought span{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#72d2ff;
  opacity:.34;
  animation:hhv2AssistantDot 1.1s infinite ease-in-out;
}
.hhv2-assistant-thought span:nth-child(2){animation-delay:.16s}
.hhv2-assistant-thought span:nth-child(3){animation-delay:.32s}
.hhv2-assistant.is-thinking .hhv2-assistant-img{animation:hhv2AssistantThinking 1.9s ease-in-out infinite}
.hhv2-assistant.is-welcome .hhv2-assistant-figure::after{
  content:'';
  position:absolute;
  inset:auto 12px 6px 12px;
  height:10px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(89,180,255,.35), rgba(89,180,255,0) 72%);
  filter:blur(6px);
}

@keyframes hhv2AssistantFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-5px)}
}
@keyframes hhv2AssistantThinking{
  0%,100%{transform:translateY(0) rotate(-1deg)}
  25%{transform:translateY(-2px) rotate(1deg)}
  50%{transform:translateY(-5px) rotate(-1deg)}
  75%{transform:translateY(-2px) rotate(1deg)}
}
@keyframes hhv2AssistantDot{
  0%,80%,100%{opacity:.28;transform:translateY(0)}
  40%{opacity:1;transform:translateY(-2px)}
}
@media(max-width:980px){
  .hhv2-assistant{right:16px;bottom:118px;gap:8px}
  .hhv2-assistant-bubble{max-width:160px;padding:9px 10px}
  .hhv2-assistant-figure,.hhv2-assistant-img{width:82px;height:82px}
}
@media(max-width:700px){
  .hhv2-assistant{right:10px;bottom:112px}
  .hhv2-assistant-bubble{display:none}
  .hhv2-assistant-figure,.hhv2-assistant-img{width:64px;height:64px}
  .hhv2-assistant-thought{top:-4px;right:2px;padding:5px 7px}
  .hhv2-assistant-thought span{width:5px;height:5px}
}


/* v1.8.45 — avatar roaming + gestures */
.hhv2-assistant{
  --hhv2-assistant-x:0px;
  --hhv2-assistant-y:0px;
  transform:translate(var(--hhv2-assistant-x),var(--hhv2-assistant-y));
  transition:transform .5s ease,right .3s ease,bottom .3s ease;
}
.hhv2-assistant:hover{
  transform:translate(var(--hhv2-assistant-x),calc(var(--hhv2-assistant-y) - 2px)) scale(1.02);
}
.hhv2-assistant-gesture{
  position:absolute;
  left:-8px;
  top:-6px;
  min-width:24px;
  height:24px;
  padding:0 7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(127,166,255,.24);
  background:rgba(8,17,40,.92);
  color:#dff3ff;
  font-size:14px;
  line-height:1;
  box-shadow:0 10px 22px rgba(0,0,0,.24);
  animation:hhv2AssistantGesturePop .28s ease;
}
.hhv2-assistant-gesture[hidden]{display:none!important}

.hhv2-assistant.is-gesture-idle .hhv2-assistant-img{
  animation:hhv2AssistantFloat 4.4s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-wave .hhv2-assistant-img{
  animation:hhv2AssistantWave 1s ease-in-out 2;
}
.hhv2-assistant.is-gesture-run .hhv2-assistant-img{
  animation:hhv2AssistantRun .9s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-scout .hhv2-assistant-img{
  animation:hhv2AssistantScout 1.4s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-celebrate .hhv2-assistant-img{
  animation:hhv2AssistantCelebrate .85s ease-in-out 2;
}
.hhv2-assistant.is-gesture-point .hhv2-assistant-img{
  animation:hhv2AssistantPoint 1.1s ease-in-out 2;
}
.hhv2-assistant.is-thinking .hhv2-assistant-thought{
  animation:hhv2AssistantThoughtPulse 1.2s ease-in-out infinite;
}

@keyframes hhv2AssistantWave{
  0%,100%{transform:translateY(0) rotate(0deg)}
  20%{transform:translateY(-2px) rotate(7deg)}
  40%{transform:translateY(-1px) rotate(-7deg)}
  60%{transform:translateY(-2px) rotate(7deg)}
  80%{transform:translateY(-1px) rotate(-5deg)}
}
@keyframes hhv2AssistantRun{
  0%,100%{transform:translateY(0) translateX(0) rotate(0deg)}
  20%{transform:translateY(-3px) translateX(2px) rotate(5deg)}
  40%{transform:translateY(0) translateX(-1px) rotate(-5deg)}
  60%{transform:translateY(-3px) translateX(2px) rotate(5deg)}
  80%{transform:translateY(0) translateX(-1px) rotate(-5deg)}
}
@keyframes hhv2AssistantScout{
  0%,100%{transform:translateY(0) rotate(0deg)}
  25%{transform:translateY(-2px) rotate(-6deg)}
  50%{transform:translateY(-1px) rotate(6deg)}
  75%{transform:translateY(-2px) rotate(-4deg)}
}
@keyframes hhv2AssistantCelebrate{
  0%,100%{transform:translateY(0) scale(1)}
  25%{transform:translateY(-7px) scale(1.06)}
  50%{transform:translateY(-2px) scale(.98)}
  75%{transform:translateY(-6px) scale(1.04)}
}
@keyframes hhv2AssistantPoint{
  0%,100%{transform:translateY(0) rotate(0deg)}
  30%{transform:translateY(-2px) rotate(8deg)}
  60%{transform:translateY(-1px) rotate(3deg)}
}
@keyframes hhv2AssistantGesturePop{
  from{opacity:0;transform:translateY(6px) scale(.82)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes hhv2AssistantThoughtPulse{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-1px) scale(1.04)}
}

@media(max-width:700px){
  .hhv2-assistant-gesture{
    left:-4px;
    top:-3px;
    min-width:20px;
    height:20px;
    padding:0 6px;
    font-size:12px;
  }
}


/* v1.8.46 — answer choreography: run in, type, finish, roam again */
.hhv2-assistant{
  transition:
    transform .68s cubic-bezier(.22,.9,.28,1.08),
    right .3s ease,
    bottom .3s ease;
}
.hhv2-assistant.is-answering{
  z-index:72;
}
.hhv2-assistant.is-answering .hhv2-assistant-bubble{
  border-color:rgba(83,181,255,.36);
  box-shadow:
    0 16px 32px rgba(0,0,0,.32),
    0 0 24px rgba(74,157,255,.10),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.hhv2-assistant.is-typing .hhv2-assistant-bubble{
  border-color:rgba(111,144,255,.42);
}
.hhv2-assistant.is-fart-joke .hhv2-assistant-bubble{
  border-color:rgba(255,170,205,.30);
  animation:hhv2AssistantBlushBubble .7s ease-in-out 2;
}

.hhv2-assistant.is-gesture-type .hhv2-assistant-img{
  animation:hhv2AssistantType .58s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-embarrassed .hhv2-assistant-img{
  animation:hhv2AssistantEmbarrassed .62s ease-in-out 3;
}
.hhv2-assistant.is-gesture-returning .hhv2-assistant-img{
  animation:hhv2AssistantReturn .8s ease-out 1;
}

@keyframes hhv2AssistantType{
  0%,100%{transform:translateY(0) rotate(0deg) scale(1)}
  25%{transform:translateY(-1px) rotate(-2deg) scale(1.015)}
  50%{transform:translateY(0) rotate(2deg) scale(.995)}
  75%{transform:translateY(-1px) rotate(-1deg) scale(1.01)}
}
@keyframes hhv2AssistantEmbarrassed{
  0%,100%{transform:translateX(0) rotate(0deg)}
  20%{transform:translateX(-3px) rotate(-5deg)}
  40%{transform:translateX(3px) rotate(4deg)}
  60%{transform:translateX(-2px) rotate(-3deg)}
  80%{transform:translateX(2px) rotate(2deg)}
}
@keyframes hhv2AssistantReturn{
  0%{transform:translateY(-3px) rotate(-4deg) scale(1.03)}
  60%{transform:translateY(-1px) rotate(2deg) scale(1)}
  100%{transform:translateY(0) rotate(0deg) scale(1)}
}
@keyframes hhv2AssistantBlushBubble{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.035)}
}

@media(max-width:700px){
  /*
   * Keep the "run in" movement smaller on phones so it never covers
   * the composer or important controls.
   */
  .hhv2-assistant.is-gesture-run{
    --hhv2-assistant-x:-34px!important;
  }
  .hhv2-assistant.is-gesture-type{
    --hhv2-assistant-x:-44px!important;
  }
  .hhv2-assistant.is-gesture-embarrassed{
    --hhv2-assistant-x:-28px!important;
  }
}


/* v1.8.47 — articulated HEYHEY live mascot */
.hhv2-assistant{
  width:112px;
  height:138px;
  left:auto;
  top:auto;
  right:24px;
  bottom:126px;
  align-items:flex-start;
  gap:0;
  transition:
    left var(--hhv2-move-duration,900ms) cubic-bezier(.22,.82,.3,1),
    top var(--hhv2-move-duration,900ms) cubic-bezier(.22,.82,.3,1),
    transform .25s ease;
  pointer-events:auto;
}
.hhv2-assistant-bubble{
  position:absolute;
  right:78px;
  bottom:12px;
  width:max-content;
  max-width:190px;
  z-index:5;
}
.hhv2-assistant-figure,
.hhv2-assistant-img{display:none!important}

.hhv2-livebot{
  position:absolute;
  right:0;
  bottom:0;
  width:78px;
  height:116px;
  transform-origin:50% 78%;
  filter:drop-shadow(0 12px 18px rgba(0,0,0,.32));
}
.hhv2-livebot-shadow{
  position:absolute;
  left:14px;
  bottom:0;
  width:52px;
  height:10px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(71,163,255,.32),rgba(71,163,255,0) 72%);
  filter:blur(3px);
}
.hhv2-livebot-head{
  position:absolute;
  left:14px;
  top:2px;
  width:52px;
  height:42px;
  border-radius:18px;
  background:linear-gradient(145deg,#f9fbff,#cfd8ed 68%,#aab7d7);
  border:2px solid rgba(151,175,229,.75);
  box-shadow:inset 0 2px 4px rgba(255,255,255,.85),0 0 10px rgba(50,196,255,.2);
  transform-origin:50% 90%;
}
.hhv2-livebot-face{
  position:absolute;
  inset:6px 7px 7px;
  border-radius:13px;
  background:linear-gradient(180deg,#07142c,#020714);
  box-shadow:inset 0 0 14px rgba(55,180,255,.13);
}
.hhv2-livebot-eye{
  position:absolute;
  top:10px;
  width:9px;
  height:7px;
  border-radius:50% 50% 45% 45%;
  border-bottom:3px solid #61ddff;
  filter:drop-shadow(0 0 4px rgba(71,218,255,.75));
}
.hhv2-livebot-eye.is-left{left:8px;transform:rotate(7deg)}
.hhv2-livebot-eye.is-right{right:8px;transform:rotate(-7deg)}
.hhv2-livebot-mouth{
  position:absolute;
  left:50%;
  bottom:5px;
  width:11px;
  height:6px;
  border-bottom:3px solid #69e1ff;
  border-radius:0 0 10px 10px;
  transform:translateX(-50%);
}
.hhv2-livebot-ear{
  position:absolute;
  top:13px;
  width:7px;
  height:15px;
  border-radius:5px;
  background:linear-gradient(180deg,#31cfff,#596cf8);
  box-shadow:0 0 8px rgba(46,204,255,.45);
}
.hhv2-livebot-ear.is-left{left:-5px}
.hhv2-livebot-ear.is-right{right:-5px}

.hhv2-livebot-body{
  position:absolute;
  left:21px;
  top:43px;
  width:38px;
  height:39px;
  border-radius:14px 14px 17px 17px;
  background:linear-gradient(145deg,#f7faff,#ccd6eb 67%,#9ba9ca);
  border:2px solid rgba(143,168,222,.7);
  box-shadow:inset 0 2px 4px rgba(255,255,255,.8);
}
.hhv2-livebot-h{
  position:absolute;
  left:50%;
  top:9px;
  transform:translateX(-50%);
  width:22px;
  height:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:linear-gradient(135deg,#3346b9,#20c5ff);
  color:#fff;
  font-size:13px;
  font-weight:900;
  box-shadow:0 0 8px rgba(42,190,255,.4);
}

.hhv2-livebot-arm{
  position:absolute;
  top:48px;
  width:10px;
  height:35px;
  border-radius:7px;
  background:linear-gradient(180deg,#eaf1ff,#aab8da);
  border:1px solid rgba(119,148,206,.75);
  transform-origin:50% 5px;
}
.hhv2-livebot-arm.is-left{left:12px}
.hhv2-livebot-arm.is-right{right:10px}
.hhv2-livebot-hand{
  position:absolute;
  left:-2px;
  bottom:-5px;
  width:13px;
  height:13px;
  border-radius:50%;
  background:#12213d;
  border:2px solid #42d7ff;
  box-shadow:0 0 7px rgba(46,210,255,.45);
}

.hhv2-livebot-leg{
  position:absolute;
  top:78px;
  width:13px;
  height:30px;
  border-radius:8px;
  background:linear-gradient(180deg,#edf3ff,#a7b5d6);
  border:1px solid rgba(119,148,206,.75);
  transform-origin:50% 5px;
}
.hhv2-livebot-leg.is-left{left:23px}
.hhv2-livebot-leg.is-right{right:20px}
.hhv2-livebot-foot{
  position:absolute;
  bottom:-5px;
  left:-3px;
  width:19px;
  height:11px;
  border-radius:8px 8px 6px 6px;
  background:#0b1932;
  border-bottom:3px solid #39d3ff;
  box-shadow:0 3px 7px rgba(0,0,0,.28);
}

.hhv2-assistant-gesture{
  left:auto;
  right:-7px;
  top:-10px;
}

/* Idle */
.hhv2-assistant.is-gesture-idle .hhv2-livebot{
  animation:hhv2LivebotIdle 3.4s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-idle .hhv2-livebot-head{
  animation:hhv2LivebotHeadLook 5.4s ease-in-out infinite;
}

/* Running: opposite limbs swing like a real run cycle */
.hhv2-assistant.is-gesture-run .hhv2-livebot{
  animation:hhv2LivebotRunBob .34s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-livebot-arm.is-left{
  animation:hhv2LivebotArmForward .42s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-livebot-arm.is-right{
  animation:hhv2LivebotArmBack .42s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-livebot-leg.is-left{
  animation:hhv2LivebotLegBack .42s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-livebot-leg.is-right{
  animation:hhv2LivebotLegForward .42s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-livebot-head{
  transform:rotate(-5deg);
}

/* Wave */
.hhv2-assistant.is-gesture-wave .hhv2-livebot-arm.is-left{
  transform:rotate(150deg) translateY(1px);
  animation:hhv2LivebotWave .32s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-wave .hhv2-livebot-head{
  animation:hhv2LivebotHappyNod .6s ease-in-out infinite alternate;
}

/* Scout / thinking */
.hhv2-assistant.is-gesture-scout .hhv2-livebot-head{
  animation:hhv2LivebotScout 1.2s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-scout .hhv2-livebot-arm.is-right{
  transform:rotate(-118deg);
}

/* Type */
.hhv2-assistant.is-gesture-type .hhv2-livebot{
  transform:translateY(5px);
}
.hhv2-assistant.is-gesture-type .hhv2-livebot-arm.is-left{
  transform:rotate(-46deg);
  animation:hhv2LivebotTypeLeft .28s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-type .hhv2-livebot-arm.is-right{
  transform:rotate(46deg);
  animation:hhv2LivebotTypeRight .28s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-type .hhv2-livebot-head{
  transform:rotate(4deg);
  animation:hhv2LivebotTypeHead .9s ease-in-out infinite alternate;
}

/* Celebrate */
.hhv2-assistant.is-gesture-celebrate .hhv2-livebot{
  animation:hhv2LivebotJump .62s ease-in-out 2;
}
.hhv2-assistant.is-gesture-celebrate .hhv2-livebot-arm.is-left{transform:rotate(145deg)}
.hhv2-assistant.is-gesture-celebrate .hhv2-livebot-arm.is-right{transform:rotate(-145deg)}

/* Point */
.hhv2-assistant.is-gesture-point .hhv2-livebot-arm.is-right{
  transform:rotate(-82deg);
}
.hhv2-assistant.is-gesture-point .hhv2-livebot-head{transform:rotate(8deg)}

/* Embarrassed */
.hhv2-assistant.is-gesture-embarrassed .hhv2-livebot-head{
  animation:hhv2LivebotEmbarrassedHead .18s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-embarrassed .hhv2-livebot-arm.is-left{transform:rotate(42deg)}
.hhv2-assistant.is-gesture-embarrassed .hhv2-livebot-arm.is-right{transform:rotate(-42deg)}
.hhv2-assistant.is-gesture-embarrassed .hhv2-livebot-eye{
  border-bottom-color:#ff8fc8;
}
.hhv2-assistant.is-gesture-returning .hhv2-livebot{
  animation:hhv2LivebotReturn .75s ease-out 1;
}

/* Keyframes */
@keyframes hhv2LivebotIdle{
  0%,100%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-3px) rotate(.8deg)}
}
@keyframes hhv2LivebotHeadLook{
  0%,18%,100%{transform:rotate(0deg)}
  28%,40%{transform:rotate(-8deg)}
  52%,65%{transform:rotate(7deg)}
}
@keyframes hhv2LivebotRunBob{
  from{transform:translateY(1px) rotate(-2deg)}
  to{transform:translateY(-4px) rotate(2deg)}
}
@keyframes hhv2LivebotArmForward{
  from{transform:rotate(48deg)}
  to{transform:rotate(-48deg)}
}
@keyframes hhv2LivebotArmBack{
  from{transform:rotate(-48deg)}
  to{transform:rotate(48deg)}
}
@keyframes hhv2LivebotLegForward{
  from{transform:rotate(34deg)}
  to{transform:rotate(-34deg)}
}
@keyframes hhv2LivebotLegBack{
  from{transform:rotate(-34deg)}
  to{transform:rotate(34deg)}
}
@keyframes hhv2LivebotWave{
  from{transform:rotate(134deg)}
  to{transform:rotate(166deg)}
}
@keyframes hhv2LivebotHappyNod{
  from{transform:rotate(-4deg)}
  to{transform:rotate(5deg)}
}
@keyframes hhv2LivebotScout{
  0%,100%{transform:rotate(0deg)}
  30%{transform:rotate(-12deg)}
  70%{transform:rotate(12deg)}
}
@keyframes hhv2LivebotTypeLeft{
  from{transform:rotate(-38deg) translateY(0)}
  to{transform:rotate(-52deg) translateY(2px)}
}
@keyframes hhv2LivebotTypeRight{
  from{transform:rotate(38deg) translateY(2px)}
  to{transform:rotate(52deg) translateY(0)}
}
@keyframes hhv2LivebotTypeHead{
  from{transform:rotate(2deg)}
  to{transform:rotate(7deg)}
}
@keyframes hhv2LivebotJump{
  0%,100%{transform:translateY(0) scale(1)}
  45%{transform:translateY(-13px) scale(1.04)}
  65%{transform:translateY(-5px) scale(.99)}
}
@keyframes hhv2LivebotEmbarrassedHead{
  from{transform:rotate(-7deg)}
  to{transform:rotate(7deg)}
}
@keyframes hhv2LivebotReturn{
  0%{transform:rotate(-5deg) scale(1.04)}
  100%{transform:rotate(0deg) scale(1)}
}

@media(max-width:700px){
  .hhv2-assistant{
    width:82px;
    height:104px;
  }
  .hhv2-livebot{
    transform:scale(.78);
    transform-origin:right bottom;
  }
  .hhv2-assistant-bubble{display:none}
}


/* v1.8.48 — realistic plastic HEYHEY robot */
.hhv2-livebot,
.hhv2-assistant-thought{
  display:none!important;
}

.hhv2-assistant{
  width:128px;
  height:150px;
  align-items:flex-end;
  justify-content:flex-end;
  overflow:visible;
}

.hhv2-assistant-figure{
  display:flex!important;
  position:absolute;
  right:0;
  bottom:0;
  width:104px;
  height:132px;
  align-items:flex-end;
  justify-content:center;
  background:transparent!important;
  border-radius:0!important;
  overflow:visible;
}

.hhv2-assistant-img{
  display:block!important;
  width:104px!important;
  height:132px!important;
  max-width:none!important;
  object-fit:contain;
  object-position:center bottom;
  transform-origin:50% 88%;
  filter:
    drop-shadow(0 14px 18px rgba(0,0,0,.34))
    drop-shadow(0 0 12px rgba(70,190,255,.17));
  transition:filter .2s ease;
}

.hhv2-assistant:hover .hhv2-assistant-img{
  filter:
    drop-shadow(0 16px 20px rgba(0,0,0,.38))
    drop-shadow(0 0 18px rgba(70,190,255,.26));
}

.hhv2-assistant-bubble{
  right:92px!important;
  bottom:24px!important;
  max-width:180px;
}

/* Natural idle breathing / weight shift */
.hhv2-assistant.is-gesture-idle .hhv2-assistant-img{
  animation:hhv2RealBotIdle 3.8s ease-in-out infinite!important;
}

/* Run: whole body leans forward with footfall bounce */
.hhv2-assistant.is-gesture-run .hhv2-assistant-img{
  animation:hhv2RealBotRun .34s ease-in-out infinite alternate!important;
}

/* Wave: subtle upper-body rock, since the source image already has raised hand */
.hhv2-assistant.is-gesture-wave .hhv2-assistant-img{
  animation:hhv2RealBotWave .55s ease-in-out 3!important;
}

/* Thinking / scout */
.hhv2-assistant.is-gesture-scout .hhv2-assistant-img{
  animation:hhv2RealBotThink 1.15s ease-in-out infinite!important;
}

/* Typing / answering */
.hhv2-assistant.is-gesture-type .hhv2-assistant-img{
  animation:hhv2RealBotType .42s ease-in-out infinite alternate!important;
}

/* Celebrate */
.hhv2-assistant.is-gesture-celebrate .hhv2-assistant-img{
  animation:hhv2RealBotCelebrate .62s ease-in-out 2!important;
}

/* Point */
.hhv2-assistant.is-gesture-point .hhv2-assistant-img{
  animation:hhv2RealBotPoint .9s ease-in-out 2!important;
}

/* Embarrassed */
.hhv2-assistant.is-gesture-embarrassed .hhv2-assistant-img{
  animation:hhv2RealBotEmbarrassed .22s ease-in-out 6!important;
  filter:
    drop-shadow(0 14px 18px rgba(0,0,0,.34))
    drop-shadow(0 0 14px rgba(255,110,180,.20));
}

/* Return */
.hhv2-assistant.is-gesture-returning .hhv2-assistant-img{
  animation:hhv2RealBotReturn .72s ease-out 1!important;
}

.hhv2-assistant.is-thinking .hhv2-assistant-bubble{
  border-color:rgba(90,178,255,.28);
}

@keyframes hhv2RealBotIdle{
  0%,100%{transform:translateY(0) rotate(0deg) scale(1)}
  40%{transform:translateY(-3px) rotate(-1deg) scale(1.01)}
  70%{transform:translateY(-1px) rotate(1deg) scale(1)}
}

@keyframes hhv2RealBotRun{
  from{transform:translateY(1px) rotate(-5deg) scaleX(.985) scaleY(1.015)}
  to{transform:translateY(-5px) rotate(4deg) scaleX(1.015) scaleY(.985)}
}

@keyframes hhv2RealBotWave{
  0%,100%{transform:translateY(0) rotate(0deg)}
  30%{transform:translateY(-2px) rotate(-5deg)}
  65%{transform:translateY(-1px) rotate(4deg)}
}

@keyframes hhv2RealBotThink{
  0%,100%{transform:translateY(0) rotate(0deg)}
  25%{transform:translateY(-1px) rotate(-3deg)}
  50%{transform:translateY(-2px) rotate(3deg)}
  75%{transform:translateY(-1px) rotate(-2deg)}
}

@keyframes hhv2RealBotType{
  from{transform:translateY(0) rotate(-1.5deg) scale(.995)}
  to{transform:translateY(-2px) rotate(1.5deg) scale(1.01)}
}

@keyframes hhv2RealBotCelebrate{
  0%,100%{transform:translateY(0) rotate(0deg) scale(1)}
  45%{transform:translateY(-12px) rotate(-4deg) scale(1.06)}
  70%{transform:translateY(-4px) rotate(4deg) scale(1.02)}
}

@keyframes hhv2RealBotPoint{
  0%,100%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-2px) rotate(6deg)}
}

@keyframes hhv2RealBotEmbarrassed{
  from{transform:translateX(-2px) rotate(-3deg)}
  to{transform:translateX(2px) rotate(3deg)}
}

@keyframes hhv2RealBotReturn{
  0%{transform:translateY(-3px) rotate(-4deg) scale(1.04)}
  100%{transform:translateY(0) rotate(0deg) scale(1)}
}

/* Gesture badge remains, but no 3-dot loader anymore */
.hhv2-assistant-gesture{
  right:0!important;
  top:2px!important;
}

@media(max-width:700px){
  .hhv2-assistant{
    width:86px;
    height:108px;
  }
  .hhv2-assistant-figure{
    width:72px;
    height:92px;
  }
  .hhv2-assistant-img{
    width:72px!important;
    height:92px!important;
  }
}


/* ==========================================================
   v1.8.50 — HEYHEY LIVE CUT-OUT MASCOT
   No Rive required. One realistic render is split into visual
   body layers; limbs/head animate independently while the
   character runs across the actual chat window.
   ========================================================== */

.hhv2-assistant{
  width:126px!important;
  height:146px!important;
  overflow:visible!important;
  transform:none!important;
  transition:
    left var(--hhv2-move-duration,1100ms) cubic-bezier(.22,.82,.26,1),
    top var(--hhv2-move-duration,1100ms) cubic-bezier(.22,.82,.26,1)!important;
}
.hhv2-assistant:hover{transform:none!important}
.hhv2-assistant-figure,
.hhv2-assistant-img,
.hhv2-livebot,
.hhv2-mascot-stage,
.hhv2-assistant-gesture,
.hhv2-assistant-thought{display:none!important}

.hhv2-cutoutbot{
  position:absolute;
  right:0;
  bottom:0;
  width:126px;
  height:126px;
  display:block;
  overflow:visible;
  transform-origin:50% 86%;
  filter:
    drop-shadow(0 11px 12px rgba(0,0,0,.26))
    drop-shadow(0 0 8px rgba(55,190,255,.10));
  will-change:transform;
}
.hhv2-assistant.is-facing-left .hhv2-cutoutbot{
  transform:scaleX(-1);
}

.hhv2-botpart{
  position:absolute;
  inset:0;
  width:126px;
  height:126px;
  display:block;
  object-fit:contain;
  user-select:none;
  pointer-events:none;
  transform-box:border-box;
  will-change:transform;
}

/* Each layer shows only one anatomical area from the same realistic PNG. */
.hhv2-part-head{
  clip-path:polygon(25% 1%,79% 1%,86% 14%,84% 38%,74% 44%,34% 44%,24% 36%,21% 15%);
  transform-origin:52% 42%;
  z-index:10;
}
.hhv2-part-torso{
  clip-path:polygon(31% 39%,72% 39%,76% 49%,70% 68%,38% 68%,29% 54%);
  transform-origin:52% 62%;
  z-index:6;
}
.hhv2-part-arm-upper-left{
  clip-path:polygon(24% 38%,39% 39%,42% 48%,35% 56%,24% 52%,19% 46%);
  transform-origin:35% 43%;
  z-index:7;
}
.hhv2-part-arm-fore-left{
  clip-path:polygon(6% 18%,28% 18%,33% 31%,30% 45%,23% 51%,13% 45%,6% 34%);
  transform-origin:25% 44%;
  z-index:8;
}
.hhv2-part-arm-upper-right{
  clip-path:polygon(66% 39%,77% 40%,82% 49%,76% 58%,67% 54%);
  transform-origin:69% 44%;
  z-index:5;
}
.hhv2-part-arm-fore-right{
  clip-path:polygon(72% 52%,88% 51%,93% 64%,89% 79%,80% 80%,73% 69%);
  transform-origin:77% 57%;
  z-index:8;
}
.hhv2-part-leg-upper-left{
  clip-path:polygon(35% 62%,53% 61%,56% 76%,46% 82%,35% 75%);
  transform-origin:44% 66%;
  z-index:4;
}
.hhv2-part-leg-lower-left{
  clip-path:polygon(32% 73%,53% 72%,54% 99%,31% 99%);
  transform-origin:44% 76%;
  z-index:3;
}
.hhv2-part-leg-upper-right{
  clip-path:polygon(53% 61%,69% 61%,72% 75%,63% 81%,53% 74%);
  transform-origin:60% 66%;
  z-index:4;
}
.hhv2-part-leg-lower-right{
  clip-path:polygon(53% 72%,77% 72%,79% 99%,52% 99%);
  transform-origin:61% 76%;
  z-index:3;
}

.hhv2-assistant-bubble{
  right:104px!important;
  bottom:24px!important;
  z-index:30!important;
  max-width:185px!important;
  pointer-events:none;
}

/* Expression overlays preserve the realistic face but add emotional cues. */
.hhv2-facefx{
  position:absolute;
  inset:0;
  z-index:20;
  pointer-events:none;
  transform-origin:52% 42%;
}
.hhv2-blush{
  position:absolute;
  top:28%;
  width:10px;
  height:6px;
  border-radius:50%;
  background:rgba(255,97,167,.66);
  box-shadow:0 0 8px rgba(255,90,170,.55);
  opacity:0;
}
.hhv2-blush.is-left{left:38%}
.hhv2-blush.is-right{left:61%}
.hhv2-brow{
  position:absolute;
  top:23%;
  width:12px;
  height:3px;
  border-radius:3px;
  background:#69e7ff;
  box-shadow:0 0 5px rgba(85,222,255,.65);
  opacity:0;
}
.hhv2-brow.is-left{left:39%;transform:rotate(-12deg)}
.hhv2-brow.is-right{left:58%;transform:rotate(12deg)}

/* Laptop only while "typing". */
.hhv2-bot-laptop{
  position:absolute;
  z-index:25;
  left:34px;
  top:77px;
  width:58px;
  height:34px;
  border-radius:5px;
  border:1px solid #7694ff;
  background:linear-gradient(145deg,#172344,#071020);
  box-shadow:0 7px 15px rgba(0,0,0,.32),0 0 11px rgba(70,180,255,.16);
  transform:perspective(90px) rotateX(-7deg) translateY(9px) scale(.9);
  opacity:0;
}
.hhv2-bot-laptop span{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:18px;
  height:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  background:linear-gradient(135deg,#4c63ff,#25ccff);
  color:#fff;
  font-size:11px;
  font-weight:900;
}

/* little cartoon puff used only by the rare joke */
.hhv2-bot-puff{
  position:absolute;
  left:91px;
  top:88px;
  width:34px;
  height:25px;
  opacity:0;
  z-index:2;
}
.hhv2-bot-puff i{
  position:absolute;
  border-radius:50%;
  background:rgba(215,226,238,.82);
  filter:blur(.2px);
}
.hhv2-bot-puff i:nth-child(1){width:14px;height:14px;left:1px;top:7px}
.hhv2-bot-puff i:nth-child(2){width:18px;height:18px;left:9px;top:2px}
.hhv2-bot-puff i:nth-child(3){width:12px;height:12px;left:22px;top:9px}

/* ---------------- IDLE ---------------- */
.hhv2-assistant.is-gesture-idle .hhv2-cutoutbot{
  animation:hhv2CutoutBreath 3.2s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-idle .hhv2-part-head{
  animation:hhv2CutoutLook 6.4s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-idle .hhv2-part-arm-fore-right{
  animation:hhv2CutoutHandIdle 4.2s ease-in-out infinite;
}

/* ---------------- RUN ---------------- */
.hhv2-assistant.is-gesture-run .hhv2-cutoutbot{
  animation:hhv2CutoutRunBody .30s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-part-arm-upper-left{
  animation:hhv2CutoutRunArmA .38s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-part-arm-fore-left{
  animation:hhv2CutoutRunForeA .38s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-part-arm-upper-right{
  animation:hhv2CutoutRunArmB .38s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-part-arm-fore-right{
  animation:hhv2CutoutRunForeB .38s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-part-leg-upper-left{
  animation:hhv2CutoutRunLegB .38s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-part-leg-lower-left{
  animation:hhv2CutoutRunShinB .38s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-part-leg-upper-right{
  animation:hhv2CutoutRunLegA .38s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-part-leg-lower-right{
  animation:hhv2CutoutRunShinA .38s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-run .hhv2-part-head{
  transform:rotate(-4deg);
}

/* ---------------- WAVE ---------------- */
.hhv2-assistant.is-gesture-wave .hhv2-part-arm-fore-left{
  animation:hhv2CutoutWave .27s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-wave .hhv2-part-head{
  animation:hhv2CutoutHappyNod .62s ease-in-out infinite alternate;
}

/* ---------------- THINK ---------------- */
.hhv2-assistant.is-gesture-scout .hhv2-part-head{
  animation:hhv2CutoutThink 1.25s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-scout .hhv2-part-arm-upper-right{
  transform:rotate(-16deg);
}
.hhv2-assistant.is-gesture-scout .hhv2-part-arm-fore-right{
  transform:rotate(-84deg) translate(-2px,-2px);
}
.hhv2-assistant.is-gesture-scout .hhv2-brow{opacity:.78}

/* ---------------- TYPE ---------------- */
.hhv2-assistant.is-gesture-type .hhv2-cutoutbot{
  transform:translateY(4px) rotate(.5deg);
}
.hhv2-assistant.is-gesture-type .hhv2-bot-laptop{
  opacity:1;
  transform:perspective(90px) rotateX(-7deg) translateY(0) scale(1);
}
.hhv2-assistant.is-gesture-type .hhv2-part-arm-upper-left{
  transform:rotate(-36deg);
}
.hhv2-assistant.is-gesture-type .hhv2-part-arm-fore-left{
  animation:hhv2CutoutTypeLeft .22s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-type .hhv2-part-arm-upper-right{
  transform:rotate(28deg);
}
.hhv2-assistant.is-gesture-type .hhv2-part-arm-fore-right{
  animation:hhv2CutoutTypeRight .22s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-type .hhv2-part-head{
  transform:rotate(4deg) translateY(2px);
}
.hhv2-assistant.is-gesture-type .hhv2-brow{
  opacity:.65;
  transform:rotate(0deg);
}

/* ---------------- CELEBRATE ---------------- */
.hhv2-assistant.is-gesture-celebrate .hhv2-cutoutbot{
  animation:hhv2CutoutJump .64s ease-in-out 2;
}
.hhv2-assistant.is-gesture-celebrate .hhv2-part-arm-upper-left{
  transform:rotate(28deg);
}
.hhv2-assistant.is-gesture-celebrate .hhv2-part-arm-fore-left{
  transform:rotate(26deg);
}
.hhv2-assistant.is-gesture-celebrate .hhv2-part-arm-upper-right{
  transform:rotate(-90deg);
}
.hhv2-assistant.is-gesture-celebrate .hhv2-part-arm-fore-right{
  transform:rotate(-85deg);
}

/* ---------------- POINT ---------------- */
.hhv2-assistant.is-gesture-point .hhv2-part-arm-upper-right{
  transform:rotate(-38deg);
}
.hhv2-assistant.is-gesture-point .hhv2-part-arm-fore-right{
  transform:rotate(-78deg);
}
.hhv2-assistant.is-gesture-point .hhv2-part-head{
  transform:rotate(6deg);
}

/* ---------------- EMBARRASSED ---------------- */
.hhv2-assistant.is-gesture-embarrassed .hhv2-part-head{
  animation:hhv2CutoutEmbarrassed .18s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-embarrassed .hhv2-part-arm-upper-left{
  transform:rotate(-18deg);
}
.hhv2-assistant.is-gesture-embarrassed .hhv2-part-arm-fore-left{
  transform:rotate(-46deg);
}
.hhv2-assistant.is-gesture-embarrassed .hhv2-part-arm-upper-right{
  transform:rotate(20deg);
}
.hhv2-assistant.is-gesture-embarrassed .hhv2-part-arm-fore-right{
  transform:rotate(50deg);
}
.hhv2-assistant.is-gesture-embarrassed .hhv2-blush{opacity:.9}
.hhv2-assistant.is-gesture-embarrassed .hhv2-bot-puff{
  opacity:.95;
  animation:hhv2CutoutPuff 1.3s ease-out forwards;
}

/* ---------------- RETURN ---------------- */
.hhv2-assistant.is-gesture-returning .hhv2-cutoutbot{
  animation:hhv2CutoutReturn .76s ease-out 1;
}

/* KEYFRAMES */
@keyframes hhv2CutoutBreath{
  0%,100%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-3px) rotate(.7deg)}
}
@keyframes hhv2CutoutLook{
  0%,18%,100%{transform:rotate(0deg)}
  30%,42%{transform:rotate(-6deg)}
  56%,70%{transform:rotate(6deg)}
}
@keyframes hhv2CutoutHandIdle{
  0%,100%{transform:rotate(0deg)}
  48%{transform:rotate(3deg)}
}
@keyframes hhv2CutoutRunBody{
  from{transform:translateY(1px) rotate(-2deg)}
  to{transform:translateY(-5px) rotate(2deg)}
}
@keyframes hhv2CutoutRunArmA{
  from{transform:rotate(34deg)}
  to{transform:rotate(-42deg)}
}
@keyframes hhv2CutoutRunForeA{
  from{transform:rotate(24deg)}
  to{transform:rotate(-32deg)}
}
@keyframes hhv2CutoutRunArmB{
  from{transform:rotate(-42deg)}
  to{transform:rotate(34deg)}
}
@keyframes hhv2CutoutRunForeB{
  from{transform:rotate(-26deg)}
  to{transform:rotate(30deg)}
}
@keyframes hhv2CutoutRunLegA{
  from{transform:rotate(28deg)}
  to{transform:rotate(-30deg)}
}
@keyframes hhv2CutoutRunLegB{
  from{transform:rotate(-30deg)}
  to{transform:rotate(28deg)}
}
@keyframes hhv2CutoutRunShinA{
  from{transform:rotate(-18deg)}
  to{transform:rotate(26deg)}
}
@keyframes hhv2CutoutRunShinB{
  from{transform:rotate(26deg)}
  to{transform:rotate(-18deg)}
}
@keyframes hhv2CutoutWave{
  from{transform:rotate(-10deg)}
  to{transform:rotate(16deg)}
}
@keyframes hhv2CutoutHappyNod{
  from{transform:rotate(-3deg)}
  to{transform:rotate(4deg)}
}
@keyframes hhv2CutoutThink{
  0%,100%{transform:rotate(-5deg)}
  48%{transform:rotate(8deg) translateY(-1px)}
  70%{transform:rotate(2deg)}
}
@keyframes hhv2CutoutTypeLeft{
  from{transform:rotate(-48deg) translate(1px,0)}
  to{transform:rotate(-58deg) translate(1px,2px)}
}
@keyframes hhv2CutoutTypeRight{
  from{transform:rotate(50deg) translate(-1px,2px)}
  to{transform:rotate(58deg) translate(-1px,0)}
}
@keyframes hhv2CutoutJump{
  0%,100%{transform:translateY(0) scale(1)}
  44%{transform:translateY(-14px) scale(1.045)}
  68%{transform:translateY(-4px) scale(.99)}
}
@keyframes hhv2CutoutEmbarrassed{
  from{transform:rotate(-6deg) translateY(1px)}
  to{transform:rotate(6deg) translateY(1px)}
}
@keyframes hhv2CutoutPuff{
  0%{transform:translate(0,0) scale(.6);opacity:0}
  20%{opacity:.95}
  100%{transform:translate(20px,-12px) scale(1.25);opacity:0}
}
@keyframes hhv2CutoutReturn{
  0%{transform:rotate(-4deg) scale(1.04)}
  100%{transform:rotate(0deg) scale(1)}
}

@media(max-width:700px){
  .hhv2-assistant{
    width:88px!important;
    height:108px!important;
  }
  .hhv2-cutoutbot{
    width:88px!important;
    height:88px!important;
  }
  .hhv2-botpart{width:88px!important;height:88px!important}
  .hhv2-facefx{transform:scale(.70);transform-origin:top left}
  .hhv2-assistant-bubble{display:none!important}
  .hhv2-bot-laptop{transform:scale(.7);transform-origin:left top}
}
@media(prefers-reduced-motion:reduce){
  .hhv2-botpart,.hhv2-cutoutbot{animation-duration:1.4s!important}
}


/* v1.8.51 — more action + more expressive mascot */
.hhv2-assistant{ z-index: 22 !important; }
.hhv2-assistant.is-travelling .hhv2-assistant-bubble{opacity:.92}
.hhv2-assistant .hhv2-assistant-bubble{
  transition:transform .22s ease,opacity .22s ease;
}
.hhv2-assistant.is-gesture-run .hhv2-assistant-bubble{
  transform:translateY(-2px);
}
.hhv2-assistant.is-gesture-dance .hhv2-cutoutbot{
  animation:hhv2CutoutDance .34s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-dance .hhv2-part-head{
  animation:hhv2CutoutDanceHead .28s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-dance .hhv2-part-arm-upper-left{
  animation:hhv2CutoutDanceArmA .34s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-dance .hhv2-part-arm-fore-left{
  animation:hhv2CutoutDanceForeA .34s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-dance .hhv2-part-arm-upper-right{
  animation:hhv2CutoutDanceArmB .34s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-dance .hhv2-part-arm-fore-right{
  animation:hhv2CutoutDanceForeB .34s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-dance .hhv2-part-leg-upper-left{
  animation:hhv2CutoutDanceLegA .34s ease-in-out infinite alternate;
}
.hhv2-assistant.is-gesture-dance .hhv2-part-leg-upper-right{
  animation:hhv2CutoutDanceLegB .34s ease-in-out infinite alternate;
}

.hhv2-assistant.is-gesture-peek .hhv2-cutoutbot{
  animation:hhv2CutoutPeekBody .9s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-peek .hhv2-part-head{
  animation:hhv2CutoutPeekHead .9s ease-in-out infinite;
}
.hhv2-assistant.is-gesture-peek .hhv2-brow{
  opacity:.72;
}
.hhv2-assistant.is-gesture-peek .hhv2-part-arm-fore-right{
  transform:rotate(12deg);
}

@keyframes hhv2CutoutDance{
  0%{transform:translateY(0) rotate(-3deg) scale(1)}
  50%{transform:translateY(-6px) rotate(4deg) scale(1.03)}
  100%{transform:translateY(0) rotate(2deg) scale(1)}
}
@keyframes hhv2CutoutDanceHead{
  from{transform:rotate(-8deg)}
  to{transform:rotate(8deg)}
}
@keyframes hhv2CutoutDanceArmA{
  from{transform:rotate(40deg)}
  to{transform:rotate(-18deg)}
}
@keyframes hhv2CutoutDanceForeA{
  from{transform:rotate(20deg)}
  to{transform:rotate(-22deg)}
}
@keyframes hhv2CutoutDanceArmB{
  from{transform:rotate(-58deg)}
  to{transform:rotate(12deg)}
}
@keyframes hhv2CutoutDanceForeB{
  from{transform:rotate(-42deg)}
  to{transform:rotate(18deg)}
}
@keyframes hhv2CutoutDanceLegA{
  from{transform:rotate(18deg)}
  to{transform:rotate(-14deg)}
}
@keyframes hhv2CutoutDanceLegB{
  from{transform:rotate(-14deg)}
  to{transform:rotate(18deg)}
}
@keyframes hhv2CutoutPeekBody{
  0%,100%{transform:translateX(0) translateY(0)}
  35%{transform:translateX(-3px) translateY(-2px)}
  60%{transform:translateX(2px) translateY(-1px)}
}
@keyframes hhv2CutoutPeekHead{
  0%,100%{transform:rotate(0deg)}
  35%{transform:rotate(-10deg)}
  70%{transform:rotate(7deg)}
}


/* v1.9.1 Premium AI modes */
.hhv2-ai-mode-toggle{position:relative;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}
.hhv2-ai-mode-toggle.is-locked{border-style:dashed;color:#a7adc1;background:rgba(25,28,46,.74)}
.hhv2-ai-mode-toggle.is-locked:hover{color:#fff;border-color:rgba(123,105,255,.55)}
.hhv2-ai-mode-turbo.is-on{border-color:rgba(255,191,71,.58)!important;background:rgba(255,177,42,.13)!important;color:#ffe5a8!important;box-shadow:0 0 0 1px rgba(255,184,64,.05),0 0 18px rgba(255,164,36,.08)}
.hhv2-ai-mode-deep.is-on{border-color:rgba(148,116,255,.60)!important;background:rgba(116,84,230,.15)!important;color:#e7ddff!important;box-shadow:0 0 0 1px rgba(148,116,255,.05),0 0 18px rgba(115,88,230,.10)}
.hhv2-ai-chip.is-turbo{border-color:rgba(255,190,66,.35);background:rgba(255,177,41,.10);color:#ffd98a}
.hhv2-ai-chip.is-deep{border-color:rgba(148,116,255,.35);background:rgba(116,84,230,.10);color:#d9ccff}
.hhv2-premium-modal{position:fixed;inset:0;z-index:2147483600;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(2,5,16,.76);backdrop-filter:blur(9px)}
.hhv2-premium-dialog{position:relative;width:min(760px,100%);max-height:min(760px,calc(100vh - 38px));overflow:auto;border:1px solid rgba(120,136,190,.22);border-radius:24px;background:linear-gradient(180deg,#11162a 0%,#0b1020 100%);box-shadow:0 28px 90px rgba(0,0,0,.52);padding:28px;color:#eef3ff}
.hhv2-premium-close{position:absolute;right:16px;top:14px;width:34px;height:34px;border:1px solid rgba(255,255,255,.10);border-radius:10px;background:rgba(255,255,255,.04);color:#cbd4ed;font-size:24px;line-height:1;cursor:pointer}
.hhv2-premium-head{padding-right:42px;margin-bottom:20px}
.hhv2-premium-kicker{display:inline-block;margin-bottom:8px;font-size:11px;letter-spacing:.14em;font-weight:900;color:#7ed9ff}
.hhv2-premium-head h2{margin:0 0 8px;font-size:28px;line-height:1.08;color:#fff}
.hhv2-premium-head p{margin:0;max-width:610px;color:#9ba7c8;font-size:14px;line-height:1.55}
.hhv2-premium-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hhv2-premium-plan{position:relative;border:1px solid rgba(126,143,197,.18);border-radius:18px;background:rgba(18,24,45,.78);padding:20px;overflow:hidden}
.hhv2-premium-plan.is-featured{border-color:rgba(75,192,255,.36);background:linear-gradient(180deg,rgba(37,73,126,.24),rgba(18,24,45,.82))}
.hhv2-premium-badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:rgba(83,185,255,.11);color:#8edaff;font-size:9px;font-weight:900;letter-spacing:.08em}
.hhv2-premium-plan h3{margin:14px 0 4px;font-size:21px;color:#fff}
.hhv2-premium-price{font-size:28px;font-weight:900;color:#fff}
.hhv2-premium-price small{font-size:12px;font-weight:700;color:#8994b2}
.hhv2-premium-credits{margin:7px 0 14px;color:#aeb8d3;font-size:12px}
.hhv2-premium-plan ul{margin:0 0 18px;padding:0;list-style:none;display:grid;gap:8px}
.hhv2-premium-plan li{font-size:12px;color:#d0d7e9}
.hhv2-premium-choose{width:100%;height:42px;border:1px solid rgba(92,169,255,.42);border-radius:12px;background:linear-gradient(135deg,#4568ff,#45b6f5);color:white;font:800 13px inherit;cursor:pointer}
.hhv2-premium-choose:disabled{opacity:.6;cursor:wait}
.hhv2-premium-foot{display:flex;justify-content:center;padding-top:16px}
.hhv2-premium-foot a{color:#91cfff;font-size:12px;text-decoration:none;font-weight:800}
@media(max-width:680px){.hhv2-premium-modal{padding:12px}.hhv2-premium-dialog{padding:22px 16px;border-radius:18px}.hhv2-premium-grid{grid-template-columns:1fr}.hhv2-premium-head h2{font-size:23px}.hhv2-premium-plan{padding:17px}}

/* v1.9.2 — reliable premium plan modal */
.hhv2-premium-modal[hidden]{display:none!important}
.hhv2-premium-modal.is-open{display:flex!important}
body.hhv2-premium-open{overflow:hidden}

/* v1.9.3 — premium modal must sit above the full-screen Chat V2 root (z-index 2147480000). */
.hhv2-premium-modal{z-index:2147483600!important;pointer-events:auto!important}
.hhv2-premium-modal.is-open{visibility:visible!important;opacity:1!important}


/* v1.9.4 — general credit/paywall modal used by Realtime Voice and other hard billing gates. */
.hhv2-credit-modal{position:fixed;inset:0;z-index:2147483600;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(2,5,16,.76);backdrop-filter:blur(9px);pointer-events:auto!important}
.hhv2-credit-modal[hidden]{display:none!important}.hhv2-credit-modal.is-open{display:flex!important;visibility:visible!important;opacity:1!important}
body.hhv2-credit-open{overflow:hidden}
.hhv2-credit-section-label{margin:20px 0 10px;color:#7f8bab;font-size:10px;font-weight:900;letter-spacing:.13em}
.hhv2-credit-topups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hhv2-credit-topup{display:grid;gap:5px;text-align:left;padding:15px 16px;border:1px solid rgba(126,143,197,.18);border-radius:14px;background:rgba(18,24,45,.78);color:#fff;cursor:pointer}
.hhv2-credit-topup:hover{border-color:rgba(75,192,255,.38);background:rgba(29,40,72,.9)}
.hhv2-credit-topup strong{font-size:15px}.hhv2-credit-topup span{font-size:19px;font-weight:900;color:#8edaff}.hhv2-credit-topup small{font-size:10px;color:#8f9ab8}.hhv2-credit-topup:disabled{opacity:.6;cursor:wait}
@media(max-width:680px){.hhv2-credit-modal{padding:12px}.hhv2-credit-topups{grid-template-columns:1fr}}

/* v1.9.9 — obvious close control above the HEYHEY mascot head */
.hhv2-assistant-close{
  position:absolute!important;
  top:0!important;
  right:36px!important;
  z-index:2147483500!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:2px solid #fff!important;
  border-radius:999px!important;
  background:#e53935!important;
  color:#fff!important;
  font:900 24px/1 Arial,sans-serif!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  box-shadow:0 5px 16px rgba(0,0,0,.48),0 0 0 3px rgba(229,57,53,.22)!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  -webkit-tap-highlight-color:transparent;
}
.hhv2-assistant-close:hover,
.hhv2-assistant-close:focus-visible{
  background:#c62828!important;
  outline:3px solid rgba(255,255,255,.9)!important;
  outline-offset:2px!important;
}
.hhv2-assistant-close:active{
  transform:scale(.92)!important;
}
@media (max-width:850px){
  .hhv2-assistant-close{
    top:-2px!important;
    right:34px!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    font-size:27px!important;
  }
}


/* v1.9.10 — mascot close appears on hover on desktop; sidebar footer is readable */
@media (min-width:851px) and (hover:hover) and (pointer:fine){
  .hhv2-assistant-close{
    opacity:0!important;
    visibility:visible!important;
    pointer-events:none!important;
    transform:translateY(3px) scale(.88)!important;
    transition:opacity .16s ease,transform .16s ease,background-color .16s ease!important;
  }
  .hhv2-assistant:hover .hhv2-assistant-close,
  .hhv2-assistant:focus-within .hhv2-assistant-close,
  .hhv2-assistant-close:focus-visible{
    opacity:1!important;
    pointer-events:auto!important;
    transform:translateY(0) scale(1)!important;
  }
}

/* Keep the close control directly usable on touch devices where hover does not exist. */
@media (max-width:850px), (hover:none), (pointer:coarse){
  .hhv2-assistant-close{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}

/* Desktop sidebar account/footer: no clipped or stacked buttons. */
@media (min-width:821px){
  .hhv2-account{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:9px!important;
    padding:10px 12px 12px!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .hhv2-account-info{
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
  }
  .hhv2-account-name{
    min-width:0!important;
    flex:1 1 auto!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:10px!important;
  }
  .hhv2-credit{
    flex:0 0 auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:24px!important;
    padding:4px 7px!important;
    border-radius:999px!important;
    background:rgba(93,101,255,.14)!important;
    color:#dfe6ff!important;
    font-size:10px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .hhv2-account-actions{
    width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:6px!important;
  }
  .hhv2-account-btn{
    width:100%!important;
    min-width:0!important;
    min-height:31px!important;
    padding:0 7px!important;
    border-radius:9px!important;
    font-size:10px!important;
    line-height:1.1!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .hhv2-logout-btn{
    grid-column:1 / -1!important;
  }
}

html[data-hhv2-theme="light"] .hhv2-credit{
  background:#e8f1ff!important;
  color:#315b9c!important;
}

/* v1.9.12 — cleaner, more realistic companion menu */
.hhv2-assistant.is-play-open{
  z-index:2147483200!important;
}
.hhv2-assistant-play[hidden]{display:none!important}
.hhv2-assistant-play{
  position:absolute;
  right:82px;
  bottom:44px;
  z-index:2147483300;
  width:252px;
  padding:12px;
  border:1px solid rgba(113,158,255,.28);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(10,17,37,.98),rgba(6,11,26,.99));
  box-shadow:0 18px 46px rgba(0,0,0,.50),0 0 20px rgba(66,141,255,.08);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  color:#eef5ff;
  pointer-events:auto;
  cursor:default;
}
.hhv2-assistant-play-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.hhv2-assistant-play-head strong{
  font-size:13px;
  line-height:1.2;
  color:#fff;
  letter-spacing:.01em;
}
.hhv2-assistant-play-head button{
  width:28px;
  height:28px;
  min-width:28px;
  padding:0;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  background:rgba(255,255,255,.05);
  color:#dce7ff;
  font:800 18px/1 Arial,sans-serif;
  cursor:pointer;
}
.hhv2-assistant-play-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.hhv2-assistant-play-grid button{
  min-height:40px;
  padding:9px 10px;
  border:1px solid rgba(116,145,231,.18);
  border-radius:11px;
  background:rgba(21,31,58,.92);
  color:#edf4ff;
  font:700 12px/1.15 inherit;
  letter-spacing:.01em;
  cursor:pointer;
  text-align:center;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.hhv2-assistant-play-grid button:hover,
.hhv2-assistant-play-grid button:focus-visible{
  border-color:rgba(91,185,255,.45);
  background:rgba(33,51,88,.98);
  outline:none;
}
.hhv2-assistant-play-grid button[data-assistant-action="catch"]{
  border-color:rgba(86,183,255,.24);
}
.hhv2-assistant-play-grid button[data-assistant-action="hide"]{
  border-color:rgba(255,112,112,.24);
}
.hhv2-assistant-play-grid button[data-assistant-action="chat"]{
  grid-column:1 / -1;
  background:linear-gradient(135deg,rgba(77,92,255,.72),rgba(55,172,237,.72));
  border-color:rgba(112,184,255,.5);
  font-weight:800;
}
.hhv2-assistant-play-status{
  display:block;
  margin-top:10px;
  color:#9caed3;
  font-size:10px;
  line-height:1.4;
}
.hhv2-assistant.is-game-active .hhv2-cutoutbot{
  cursor:crosshair;
  filter:drop-shadow(0 13px 18px rgba(0,0,0,.34)) drop-shadow(0 0 16px rgba(72,218,183,.26));
}
.hhv2-assistant.is-game-active .hhv2-assistant-bubble{
  border-color:rgba(72,218,183,.44);
}

@media(max-width:850px){
  .hhv2-assistant-play{
    right:58px;
    bottom:46px;
    width:min(258px,calc(100vw - 88px));
    padding:11px;
    border-radius:15px;
  }
  .hhv2-assistant-play-grid button{
    min-height:42px;
    font-size:12px;
  }
  .hhv2-assistant.is-play-open .hhv2-assistant-close{
    opacity:1!important;
    pointer-events:auto!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .hhv2-assistant.is-game-active .hhv2-cutoutbot{filter:none}
}
