/* Tara: an original page guide. No libraries. */
.fc { position: fixed; left: 0; top: 0; width: var(--fc-s, 70px); height: var(--fc-s, 70px); z-index: 1100; pointer-events: none; will-change: transform; --ex: 0px; --ey: 0px; transition: opacity .25s; }
.fc[hidden], .fc-bub[hidden], .fc-chat[hidden], .fc-chips[hidden], .fc-x[hidden] { display: none; }
.fc.is-ghost { opacity: .4; }
.fc.is-ghost .fc-body { pointer-events: none; }
.fc-body { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; border-radius: 50%; }
.fc-body:focus-visible { outline: 3px solid #1f1d1a; outline-offset: 3px; }
.fc svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 7px 10px rgba(60,10,25,.3)); }
.fc-lean, .fc-squash, .fc-mood, .fc-breathe, .fc-eye, .fc-brow { transform-box: fill-box; transform-origin: center; }
.fc-mood { transition: transform .32s cubic-bezier(.3,1.3,.5,1); }
.fc-breathe { animation: fc-breathe 4.2s ease-in-out infinite; }
.fc-squash.is-land { animation: fc-land .32s ease-out 1; }
.fc-squash.is-swap { animation: fc-swap .42s cubic-bezier(.4,0,.3,1.3) 1; }
.fc-pupil { transform: translate(calc(var(--ex) * .3), calc(var(--ey) * .3)); transition: transform .1s ease-out; }
.fc-eye { transition: transform .08s ease-in, opacity .12s; }
.fc.is-blink .fc-eye { transform: scaleY(.08); }
.fc-ink { fill: var(--fc-ink, #2a1218); } .fc-spark { fill: var(--fc-spark, #fff); } .fc-talkfill { fill: var(--fc-ink, #2a1218); }
.fc-brow { fill: none; stroke: var(--fc-brow, #6d1029); stroke-width: 3.4; stroke-linecap: round; transition: transform .2s ease-out; }
.fc-blush { fill: var(--fc-blush, #ffb3c4); opacity: .22; transition: opacity .25s; }
.fc-line { fill: none; stroke: var(--fc-ink, #2a1218); stroke-width: 3.8; stroke-linecap: round; opacity: 0; transition: opacity .14s; }
.fc-mouth-base { opacity: 1; }
.fc-zzz { font: 700 14px system-ui, sans-serif; fill: #6f6a64; opacity: 0; }
/* Talking: the mouth opens and closes while a message arrives */
.fc.is-talking .fc-mouth-base { opacity: 0; }
.fc.is-talking .fc-mouth-talk { opacity: 1; animation: fc-talk .3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
/* Moods: one at a time */
.fc.m-unsure .fc-eye-r { transform: scale(.74); }
.fc.m-unsure .fc-brow-l { transform: translateY(-4px) rotate(-14deg); }
.fc.m-unsure .fc-brow-r { transform: translateY(1px) rotate(-6deg); }
.fc.m-unsure .fc-mouth-base { opacity: 0; } .fc.m-unsure .fc-mouth-unsure { opacity: 1; }
.fc.m-curious .fc-brow-r { transform: translateY(-5px) rotate(8deg); }
.fc.m-happy .fc-eye, .fc.m-giggle .fc-eye { opacity: 0; }
.fc.m-happy .fc-arc, .fc.m-giggle .fc-arc { opacity: 1; }
.fc.m-happy .fc-mouth-base, .fc.m-giggle .fc-mouth-base { opacity: 0; }
.fc.m-happy .fc-mouth-big, .fc.m-giggle .fc-mouth-big { opacity: 1; }
.fc.m-happy .fc-blush, .fc.m-giggle .fc-blush, .fc.m-warm .fc-blush { opacity: .75; }
.fc.m-happy .fc-brow { transform: translateY(-4px); }
.fc.m-warm .fc-brow { transform: translateY(-2px); }
.fc.m-wow .fc-eye { transform: scale(1.16); }
.fc.m-wow .fc-brow { transform: translateY(-6px); }
.fc.m-wow .fc-mouth-base { opacity: 0; } .fc.m-wow .fc-mouth-o { opacity: 1; }
.fc.m-sad .fc-eye { transform: scaleY(.74); }
.fc.m-sad .fc-brow-l { transform: rotate(-16deg); } .fc.m-sad .fc-brow-r { transform: rotate(16deg); }
.fc.m-sad .fc-mouth-base { opacity: 0; } .fc.m-sad .fc-mouth-sad { opacity: 1; }
.fc.m-think .fc-brow-l { transform: translateY(-3px) rotate(-8deg); }
/* OTP: eyes shut, so she visibly does not read the code */
.fc.m-peek .fc-eye, .fc.m-sleep .fc-eye { opacity: 0; }
.fc.m-peek .fc-shut, .fc.m-sleep .fc-shut { opacity: 1; }
.fc.m-sleep .fc-brow { transform: translateY(2px); }
.fc.m-sleep .fc-zzz { opacity: 1; animation: fc-zzz 2.6s ease-in-out infinite; }
/* New emotions */
.fc.m-shy .fc-blush { opacity: .95; } .fc.m-shy .fc-eye { transform: scale(.86); } .fc.m-shy .fc-brow { transform: translateY(-2px); }
.fc.m-shy .fc-mouth-base { opacity: 0; } .fc.m-shy .fc-mouth-unsure { opacity: 1; }
.fc.m-proud .fc-eye { transform: scaleY(.62); } .fc.m-proud .fc-brow { transform: translateY(3px); } .fc.m-proud .fc-blush { opacity: .5; }
.fc.m-proud .fc-mouth-base { opacity: 0; } .fc.m-proud .fc-mouth-big { opacity: 1; }
.fc.m-suspicious .fc-eye { transform: scaleY(.42); }
.fc.m-suspicious .fc-brow-l { transform: translateY(5px) rotate(14deg); } .fc.m-suspicious .fc-brow-r { transform: translateY(5px) rotate(-14deg); }
.fc.m-suspicious .fc-mouth-base { opacity: 0; } .fc.m-suspicious .fc-mouth-unsure { opacity: 1; }
.fc.m-bored .fc-eye { transform: scaleY(.5); } .fc.m-bored .fc-brow { transform: translateY(4px); }
.fc.m-bored .fc-mouth-base { opacity: 0; } .fc.m-bored .fc-mouth-unsure { opacity: 1; }
.fc.m-excited .fc-eye { transform: scale(1.14); } .fc.m-excited .fc-brow { transform: translateY(-6px); } .fc.m-excited .fc-blush { opacity: .8; }
.fc.m-excited .fc-mouth-base { opacity: 0; } .fc.m-excited .fc-mouth-big { opacity: 1; }
.fc.m-scared .fc-eye { transform: scale(1.2); } .fc.m-scared .fc-brow-l { transform: translateY(-5px) rotate(-14deg); } .fc.m-scared .fc-brow-r { transform: translateY(-5px) rotate(14deg); }
.fc.m-scared .fc-mouth-base { opacity: 0; } .fc.m-scared .fc-mouth-o { opacity: 1; }
.fc.m-playful .fc-eye-l { transform: scaleY(.1); } .fc.m-playful .fc-mouth-base { opacity: 0; } .fc.m-playful .fc-mouth-big { opacity: 1; } .fc.m-playful .fc-blush { opacity: .7; }
.fc.m-search .fc-brow { transform: translateY(-3px); }
/* Bubble */
.fc-bub { position: fixed; left: 0; top: 0; z-index: 1101; width: max-content; max-width: min(255px, calc(100vw - 20px)); padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.98); color: #1f1d1a; font: 500 14px/1.38 Inter, system-ui, sans-serif; box-shadow: 0 10px 28px rgba(30,15,20,.25), 0 0 0 1px rgba(30,15,20,.06); pointer-events: none; opacity: 0; transition: opacity .16s; }
.fc-bub.is-on { opacity: 1; }
.fc-bub.has-actions { pointer-events: auto; padding-right: 30px; }
.fc-tail { position: absolute; width: 11px; height: 11px; background: inherit; left: var(--tail, 50%); bottom: -5px; margin-left: -5px; transform: rotate(45deg); }
.fc-bub.is-below .fc-tail { bottom: auto; top: -5px; }
.fc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fc-bub .fc-chips { margin-right: -16px; }
.fc-chip { min-height: 34px; padding: 5px 12px; border: 1px solid #e52c58; border-radius: 17px; background: #fff; color: #bf1c44; font: 600 12.5px/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
.fc-chip:hover, .fc-chip:focus-visible { background: #e52c58; color: #fff; outline: none; }
.fc-x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; background: none; color: #6f6a64; font-size: 18px; line-height: 1; cursor: pointer; }
.fc-dots { display: inline-flex; gap: 4px; padding: 4px 1px; vertical-align: middle; }
.fc-dots i { width: 7px; height: 7px; border-radius: 50%; background: #a8a29c; animation: fc-dot 1s ease-in-out infinite; }
.fc-dots i:nth-child(2) { animation-delay: .15s; } .fc-dots i:nth-child(3) { animation-delay: .3s; }
/* Chat */
.fc-chat { position: fixed; right: 18px; bottom: 24px; z-index: 1099; width: 350px; max-width: calc(100vw - 16px); height: min(500px, 72vh); display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; color: #1f1d1a; font: 400 14px/1.42 Inter, system-ui, sans-serif; box-shadow: 0 18px 50px rgba(30,15,20,.35), 0 0 0 1px rgba(30,15,20,.07); }
.fc-chat-head { position: relative; padding: 12px 44px 11px 16px; background: #1f1d1a; color: #fff; }
.fc-chat-head strong { display: block; font-size: 15px; font-weight: 600; }
.fc-chat-head span { font-size: 12px; opacity: .78; }
.fc-chat-head .fc-x { top: 9px; right: 8px; color: #fff; }
.fc-log { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 12px 6px; background: #f7f5f3; overscroll-behavior: contain; }
.fc-msg { width: fit-content; max-width: 86%; margin-bottom: 8px; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 1px 2px rgba(30,15,20,.1); overflow-wrap: anywhere; }
.fc-msg.is-me { margin-left: auto; border-radius: 14px 14px 4px 14px; background: #e52c58; color: #fff; }
.fc-log .fc-chips { margin: 2px 0 10px; }
.fc-form { display: flex; gap: 6px; padding: 8px; border-top: 1px solid #e6e2de; background: #fff; }
.fc-input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #cfc9c3; border-radius: 20px; font: 400 16px/1 Inter, system-ui, sans-serif; color: #1f1d1a; background: #fff; }
.fc-input:focus { outline: 2px solid #e52c58; outline-offset: 0; border-color: transparent; }
.fc-send { height: 40px; padding: 0 15px; border: 0; border-radius: 20px; background: #e52c58; color: #fff; font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
.fc-note { padding: 0 12px 7px; background: #fff; font-size: 11px; color: #6f6a64; }
@keyframes fc-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025,.982); } }
@keyframes fc-swap { 0% { transform: none; } 40% { transform: scale(.45) rotate(-14deg); opacity: .5; } 100% { transform: none; } }
@keyframes fc-land { 0% { transform: scale(1.08,.9); } 60% { transform: scale(.97,1.04); } 100% { transform: none; } }
@keyframes fc-hop { 0%,100% { transform: translateY(0); } 45% { transform: translateY(-8px); } }
@keyframes fc-wiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
@keyframes fc-wander { 0%,100% { transform: translate(-4px,-1px); } 50% { transform: translate(4px,-2px); } }
@keyframes fc-read { 0% { transform: translate(-5px,2px); } 100% { transform: translate(5px,2px); } }
@keyframes fc-talk { 0%,100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@keyframes fc-zzz { 0%,100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-5px); opacity: 1; } }
@keyframes fc-dot { 0%,60%,100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 767px) {
  .fc { --fc-s: 52px; } .fc-bub { font-size: 13.5px; }
  .fc-chat { left: 8px; right: 8px; bottom: 8px; width: auto; height: min(460px, 66vh); }
}
@media (prefers-reduced-motion: reduce) { .fc *, .fc, .fc-bub, .fc-chat * { animation: none !important; transition: none !important; } }

/* Email box that needs a second look */
input.fc-bad, input.fc-bad:focus { border-color: #c62b4e !important; box-shadow: 0 0 0 2px rgba(198,43,78,.22) !important; }
