/* voice.css: Tabo v2.1 blob buddy (was the talking face) + voice + emotions (v1.9.4: mic in the composer, voice row, the Talking Face). */
.composer.hv-has input{padding-right:100px}
.hv-mic{position:absolute;right:50px;top:6px;width:38px;height:38px;padding:0;border:0;border-radius:12px;background:#f0ebe7;color:#933914;font-size:18px;line-height:38px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hv-mic:focus{outline:2px solid #f6a274;outline-offset:2px}
.hv-mic.on{background:#ee7d45;-webkit-animation:hvPulse 1.1s ease-in-out infinite;animation:hvPulse 1.1s ease-in-out infinite}
.composer.hv-listen input{border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.18)}
@-webkit-keyframes hvPulse{0%,100%{box-shadow:0 0 0 0 rgba(220,38,38,.55)}50%{box-shadow:0 0 0 9px rgba(220,38,38,0)}}
@keyframes hvPulse{0%,100%{box-shadow:0 0 0 0 rgba(220,38,38,.55)}50%{box-shadow:0 0 0 9px rgba(220,38,38,0)}}
.hv-row{-webkit-flex:none;flex:none;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;margin:0 0 6px;white-space:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch}
.hv-pill{-webkit-flex:none;flex:none;margin:0 6px 0 0;padding:5px 11px;border-radius:999px;border:1px solid #e8e1d9;background:#ffffff;color:#6f2c10;font:inherit;font-size:12.5px;font-weight:800;cursor:pointer}
.hv-pill:focus,.hv-pill:hover{border-color:#f6a274;outline:none;background:#f7f7f6}
.hv-vc{background:#f3efeb;border-color:#fcc8a6}
.hv-ra[aria-pressed="true"]{background:#b8481a;border-color:#b8481a;color:#ffffff}
.hv-sw{display:none;-webkit-flex:none;flex:none}
.hv-row.hv-raon .hv-sw{display:block}
.hv-sel{-webkit-appearance:none;appearance:none;max-width:170px;height:28px;padding:0 6px;border-radius:9px;border:1px solid #e8e1d9;background:#ffffff;color:#6f2c10;font:inherit;font-size:12.5px}
.hv-ctl{display:inline-block;margin-left:4px;vertical-align:middle}
.hv-play{display:inline-block;padding:1px 4px;border:0;border-radius:8px;background:transparent;font-size:14px;line-height:20px;opacity:.6;cursor:pointer}
.hv-play:hover,.hv-play:focus{opacity:1;outline:none;background:rgba(246,162,116,.15)}
.msg.hv-speaking{box-shadow:0 0 0 2px #f6a274}
.msg.hv-speaking .hv-play{opacity:1;background:#dc2626;color:#ffffff}
/* v1.9.4 Talking Face: full-screen on phones, a big centered card on iPad/desktop */
html.hv-open,html.hv-open body{overflow:hidden}
.hv-ov{position:fixed;left:0;top:0;right:0;bottom:0;z-index:9990;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;
  background:#f7f5f2;background:#f5f1ee;color:#322d29;text-align:center}
.hv-ov[hidden]{display:none}
.hv-card{position:relative;width:100%;height:100%;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;
  padding:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0);box-sizing:border-box}
.hv-top{-webkit-flex:none;flex:none;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-between;justify-content:space-between;padding:10px 12px}
.hv-ttl{font-weight:900;font-size:17px}
.hv-x,.hv-mute{width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.8);color:#322d29;font-size:20px;line-height:44px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hv-mute[aria-pressed="true"]{background:#b8481a;color:#ffffff}
.hv-mid{-webkit-flex:1;flex:1;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;padding:0 16px;min-height:0;overflow:hidden}
.hv-faceb{position:relative;width:230px;height:230px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-flex:none;flex:none}
.hv-faceb:focus{outline:none}
.hv-faceb:focus-visible{outline:3px solid #f6a274;outline-offset:4px}
.hv-svg{position:relative;display:block;width:100%;height:100%;overflow:visible}
.hv-glow{position:absolute;left:8%;top:10%;width:84%;height:84%;border-radius:50%;background:rgba(168,85,247,.16);opacity:0}
.hv-listening .hv-glow{-webkit-animation:hvRing 1.6s ease-out infinite;animation:hvRing 1.6s ease-out infinite}
.hv-listening .hv-glow.g2{-webkit-animation-delay:.8s;animation-delay:.8s}
.hv-speaking .hv-glow{opacity:.55;-webkit-animation:hvBeat .5s ease-in-out infinite alternate;animation:hvBeat .5s ease-in-out infinite alternate}
.hv-speaking .hv-glow.g2{display:none}
@-webkit-keyframes hvRing{0%{-webkit-transform:scale(.9);opacity:.9}100%{-webkit-transform:scale(1.45);opacity:0}}
@keyframes hvRing{0%{transform:scale(.9);opacity:.9}100%{transform:scale(1.45);opacity:0}}
@-webkit-keyframes hvBeat{0%{-webkit-transform:scale(1)}100%{-webkit-transform:scale(1.08)}}
@keyframes hvBeat{0%{transform:scale(1)}100%{transform:scale(1.08)}}
.hv-st{margin:14px 0 4px;font-size:22px;font-weight:900;min-height:28px}
.hv-dots{display:none}
.hv-listening .hv-dots,.hv-thinking .hv-dots{display:inline}
.hv-dots i{font-style:normal;-webkit-animation:hvDot 1.2s infinite;animation:hvDot 1.2s infinite}
.hv-dots i:nth-child(2){-webkit-animation-delay:.2s;animation-delay:.2s}
.hv-dots i:nth-child(3){-webkit-animation-delay:.4s;animation-delay:.4s}
@-webkit-keyframes hvDot{0%,60%,100%{opacity:.2}30%{opacity:1}}
@keyframes hvDot{0%,60%,100%{opacity:.2}30%{opacity:1}}
.hv-said{margin:2px 0;min-height:20px;max-width:620px;font-size:15px;font-weight:700;opacity:.75;word-wrap:break-word}
.hv-cap{margin:6px 0 0;width:100%;max-width:620px;max-height:22vh;overflow:auto;-webkit-overflow-scrolling:touch;font-size:18px;font-weight:700;line-height:1.4;word-wrap:break-word;border-radius:16px}
.hv-cap:empty{display:none}
.hv-cap{padding:8px 12px;background:rgba(255,255,255,.7);box-shadow:0 2px 12px rgba(147,57,20,.12);box-sizing:border-box}
.hv-cap span{-webkit-transition:background .12s,color .12s;transition:background .12s,color .12s;border-radius:6px}
.hv-cap span.on{background:#e8e0d8;color:#6f2c10}
.hv-tform{display:-webkit-flex;display:flex;width:100%;max-width:520px;margin:12px 0 0;-webkit-flex:none;flex:none}
.hv-tin{-webkit-flex:1;flex:1;min-width:0;height:46px;padding:0 14px;border:2px solid #e3dad0;border-radius:23px 0 0 23px;border-right:0;background:#ffffff;color:#312c28;font:inherit;font-size:16px;-webkit-appearance:none;appearance:none}
.hv-tin:focus{outline:none;border-color:#f6a274}
.hv-tgo{-webkit-flex:none;flex:none;width:54px;height:46px;border:0;border-radius:0 23px 23px 0;background:#ee7d45;background:#b8481a;color:#ffffff;font-size:20px;cursor:pointer}
.hv-hint{margin:6px 0 0;font-size:12.5px;opacity:.7;min-height:0}
.hv-hint:empty{display:none}
.hv-bot{-webkit-flex:none;flex:none;padding:6px 14px 14px}
.hv-bot .hv-sel{height:34px;max-width:260px;font-size:14px}
.hv-note{margin:6px auto 0;max-width:520px;font-size:12px;line-height:1.35;opacity:.7}
.hv-ov .hv-sel{padding:0 12px;background:#ffffff;border:1px solid #e3dad0;color:#322d29}
/* iPad / desktop: a big centered card */
@media (min-width:700px) and (min-height:600px){
  .hv-ov{background:rgba(49,44,40,.35)}
  .hv-card{width:640px;max-width:92vw;height:840px;max-height:92vh;border-radius:30px;padding:0;background:#f7f5f2;background:#f5f1ee;box-shadow:0 30px 80px rgba(49,44,40,.35)}
  .hv-faceb{width:300px;height:300px}.hv-st{font-size:26px}}
@media (min-width:700px) and (min-height:600px) and (max-height:860px){.hv-faceb{width:250px;height:250px}.hv-cap{max-height:18vh}}
@media (max-height:700px){.hv-faceb{width:170px;height:170px}.hv-st{margin-top:8px;font-size:19px;min-height:24px}.hv-note{display:none}.hv-cap{font-size:16px;max-height:18vh}.hv-tform{margin-top:8px}.hv-top{padding:6px 10px}}
@media (max-height:520px){.hv-faceb{width:120px;height:120px}.hv-said{display:none}.hv-bot{display:none}}
@media (max-width:260px){.hv-row{display:none}.composer.hv-has input{padding-right:66px}.hv-mic{width:28px;height:28px;top:3px;right:34px;line-height:28px;font-size:13px;border-radius:7px}}
@media (prefers-reduced-motion:reduce){.hv-glow,.hv-dots i,.hv-mic.on{-webkit-animation:none!important;animation:none!important}}
/* v1.9.5 EMOTIONS: the face root (.hv-ov) carries hv-e-<emotion>; extras fade in, the face eases between looks (voice.js) */
.hv-capw{position:relative;width:100%;max-width:620px;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center}
.hv-emo{position:absolute;left:-12px;top:-10px;z-index:2;width:32px;height:32px;line-height:32px;font-size:20px;text-align:center;border-radius:50%;background:#ffffff;box-shadow:0 2px 8px rgba(0,0,0,.18);opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s;pointer-events:none}
.hv-ov.hv-hascap .hv-emo,.hv-ov.hv-speaking .hv-emo{opacity:1}
.hv-emo.pop{-webkit-animation:hvEmoPop .45s ease-out;animation:hvEmoPop .45s ease-out}
@-webkit-keyframes hvEmoPop{0%{-webkit-transform:scale(.4)}60%{-webkit-transform:scale(1.25)}100%{-webkit-transform:scale(1)}}
@keyframes hvEmoPop{0%{transform:scale(.4)}60%{transform:scale(1.25)}100%{transform:scale(1)}}
.hv-fx>g,.hv-fx>text{opacity:0;-webkit-transition:opacity .35s ease;transition:opacity .35s ease}
.hv-e-embarrassed .hv-blush,.hv-e-embarrassed .hv-sweat{opacity:1}
.hv-e-excited .hv-spark{opacity:1}
.hv-e-sad .hv-tear{opacity:1}
.hv-e-surprised .hv-shock{opacity:1}
.hv-e-confused .hv-q{opacity:1}
.hv-e-laughing .hv-joy{opacity:1}
.hv-e-laughing .hv-blush{opacity:.55}
.hv-e-spooky .hv-boo{opacity:1}
.hv-sweat{-webkit-animation:hvDrip 1.6s ease-in infinite;animation:hvDrip 1.6s ease-in infinite}
.hv-tear{-webkit-animation:hvDrip 2s ease-in infinite;animation:hvDrip 2s ease-in infinite}
@-webkit-keyframes hvDrip{0%{-webkit-transform:translate(0,-4px)}100%{-webkit-transform:translate(0,10px)}}
@keyframes hvDrip{0%{transform:translate(0,-4px)}100%{transform:translate(0,10px)}}
.hv-tw{-webkit-animation:hvTw 1s ease-in-out infinite alternate;animation:hvTw 1s ease-in-out infinite alternate}
.hv-tw.t2{-webkit-animation-delay:.33s;animation-delay:.33s}.hv-tw.t3{-webkit-animation-delay:.66s;animation-delay:.66s}
@-webkit-keyframes hvTw{0%{opacity:.2}100%{opacity:1}}
@keyframes hvTw{0%{opacity:.2}100%{opacity:1}}
.hv-e-embarrassed .hv-glow{background:radial-gradient(circle,rgba(255,79,139,.35),rgba(255,79,139,0) 70%)}
@media (prefers-reduced-motion:reduce){.hv-sweat,.hv-tear,.hv-tw,.hv-emo.pop{-webkit-animation:none;animation:none}}

/* ===== v2.1 🫧 BLOB buddy: custom eyes + colors, Use my Tot, voice picker with ▶ preview ===== */
.hb-tr{display:-webkit-flex;display:flex}
.hb-cb{width:44px;height:44px;margin-right:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.85);font-size:20px;line-height:44px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hb-cb[aria-expanded="true"]{background:#b8481a;box-shadow:0 0 0 3px rgba(184,72,26,.25)}
.hv-ttl{color:#933914}
.hv-faceb{border-radius:40%}
.hb-svg .hb-blob{stroke-linejoin:round}
.hb-tot{position:absolute;left:12%;top:10%;width:76%;height:76%;display:none;-webkit-transform-origin:50% 90%;transform-origin:50% 90%;pointer-events:none}
.hb-tot svg{width:100%;height:100%;display:block;overflow:visible}
.hv-ov.hb-usetot .hb-svg .hb-body{display:none}
.hv-ov.hb-usetot .hb-tot{display:block}
.hb-cust{-webkit-flex:none;flex:none;margin:0 12px 6px;padding:10px 12px;border-radius:20px;background:rgba(255,255,255,.9);box-shadow:0 6px 22px rgba(147,57,20,.14);text-align:left;max-height:46vh;overflow:auto;-webkit-overflow-scrolling:touch}
.hb-cust[hidden]{display:none}
.hb-sec{margin:0 0 8px}.hb-sec:last-child{margin-bottom:0}
.hb-h{display:block;margin:0 0 6px;font-size:13px;font-weight:900;color:#933914}
.hb-chips{display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}
.hb-chip{margin:0 6px 6px 0;padding:7px 11px;border-radius:999px;border:2px solid #e8e1d9;background:#ffffff;color:#4a1e0b;font:inherit;font-size:13.5px;font-weight:800;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hb-chip[aria-pressed="true"]{background:#b8481a;border-color:#b8481a;color:#ffffff}
.hb-sw{width:36px;height:36px;margin:0 8px 6px 0;padding:0;border-radius:50%;border:3px solid #ffffff;box-shadow:0 0 0 2px #e8e1d9;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hb-sw[aria-pressed="true"]{box-shadow:0 0 0 3px #b8481a;-webkit-transform:scale(1.08);transform:scale(1.08)}
.hb-totrow .hd-sw{margin:2px 0}
.hb-vbox{display:-webkit-inline-flex;display:inline-flex;-webkit-align-items:center;align-items:center;vertical-align:middle}
.hb-prev{width:30px;height:28px;margin-left:4px;padding:0;border:0;border-radius:9px;background:#b8481a;color:#ffffff;font-size:12px;line-height:28px;cursor:pointer}
.hb-vb .hv-sel{height:36px;max-width:240px;font-size:14px}.hb-vb .hb-prev{height:36px;width:40px;font-size:14px}
.hb-tip{margin:6px 0 0;font-size:12px;line-height:1.35;color:#933914}
.hv-cap span.on{border-radius:6px}
.hb-tw{-webkit-animation:hvTw 1.1s ease-in-out infinite alternate;animation:hvTw 1.1s ease-in-out infinite alternate}
@media (min-width:700px) and (min-height:600px){.hb-cust{margin:0 22px 8px}}
@media (max-height:700px){.hv-ov.hb-custon .hv-faceb{width:130px;height:130px}.hv-ov.hb-custon .hv-said,.hv-ov.hb-custon .hv-note{display:none}.hb-cust{max-height:40vh}}
@media (max-height:520px){.hb-cust{max-height:34vh}}
/* the Halloween look keeps the blob bright + friendly (just a little candy glow) */
html.hw .hv-ov{background:#fff4e8;background:linear-gradient(160deg,#fff1e0 0,#f6ecff 55%,#ffe9d6 100%)}
@media (min-width:700px) and (min-height:600px){html.hw .hv-card{background:#fff4e8;background:linear-gradient(160deg,#fff1e0 0,#f6ecff 55%,#ffe9d6 100%)}}
html.hw .hv-mic{background:#ffedd5;color:#c2410c}
html.hw .hv-pill{background:#fff;border-color:#fed7aa;color:#9a3412}
html.hw .hv-ra[aria-pressed="true"]{background:#fb923c;border-color:#fb923c;color:#fff}
.hv-ov.hb-custon .hv-faceb{width:180px;height:180px}.hv-ov.hb-custon .hv-said{display:none}.hv-ov.hb-custon .hv-st{margin-top:6px;font-size:19px}
