#hipo-widget,
#hipo-widget * {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: Georgia, 'Times New Roman', serif;
} #hipo-widget {
--bg:      #0E0D0B;
--surface: #1A1915;
--border:  rgba(255,255,255,0.07);
--text:    #E2DDD4;
--muted:   rgba(226,221,212,0.4);
--accent:  #4a8fd4;
--accent-rgb: 74, 143, 212;
--accent-dim: rgba(74,143,212,0.12);
--green:   #4caf7d;
--radius:  16px;
--shadow:  0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
position: fixed;
bottom: 24px;
right: 24px;
z-index: 2147483647;
} #hipo-bubble {
display: flex;
align-items: center;
cursor: pointer;
filter: drop-shadow(0 6px 20px rgba(0,0,0,0.6));
animation: hipo-pop 0.35s ease;
}
#hipo-bubble-label {
background: var(--surface);
color: var(--text);
border: 1px solid var(--border);
border-right: none;
padding: 11px 18px 11px 20px;
border-radius: 30px 0 0 30px;
font-size: 11px;
line-height: 1.45;
letter-spacing: 0.04em;
text-align: right;
user-select: none;
transition: background 0.2s;
}
#hipo-bubble:hover #hipo-bubble-label { background: #222119; }
#hipo-bubble-label .hipo-line1 { opacity: 0.55; font-size: 10px; }
#hipo-bubble-icon {
width: 52px;
height: 52px;
border-radius: 0 26px 26px 0;
background: var(--accent);
display: flex;
align-items: center;
justify-content: center;
position: relative;
transition: filter 0.2s;
}
#hipo-bubble:hover #hipo-bubble-icon { filter: brightness(1.15); }
#hipo-bubble-dot {
position: absolute;
top: -2px;
right: -2px;
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--green);
border: 2px solid var(--bg);
display: none;
}
#hipo-bubble-dot.hipo-dot-normal { display: block; }
#hipo-bubble-dot.hipo-dot-urgent { display: block; background: #e8a030; }
#hipo-btn-collapsed {
width: 52px;
height: 52px;
border-radius: 50%;
background: var(--accent);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 20px rgba(0,0,0,0.5);
transition: filter 0.2s;
animation: hipo-pop 0.25s ease;
}
#hipo-btn-collapsed:hover { filter: brightness(1.15); } #hipo-chat {
width: 380px;
height: 560px;
background: var(--bg);
border-radius: var(--radius);
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: var(--shadow);
animation: hipo-pop 0.28s cubic-bezier(0.34,1.56,0.64,1);
transition: background 0.6s ease, color 0.6s ease;
position: relative;
} #hipo-chat::before {
content: '';
position: absolute;
inset: 0;
pointer-events: none !important;
background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(74,143,212,0.03) 0%, transparent 70%);
animation: hipnoPulse 8s ease-in-out infinite;
z-index: 0;
border-radius: var(--radius);
}
@keyframes hipnoPulse {
0%, 100% { opacity: 0.5; transform: scale(1); }
50%       { opacity: 1;   transform: scale(1.08); }
} #hipo-header {
background: var(--surface);
border-bottom: 1px solid var(--border);
padding: 14px 16px;
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
position: relative;
z-index: 2;
}
#hipo-header-left {
display: flex;
align-items: center;
gap: 9px;
}
#hipo-status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--green);
box-shadow: 0 0 7px var(--green);
flex-shrink: 0;
}
#hipo-header-title {
color: var(--text);
font-size: 10.5px;
letter-spacing: 0.18em;
text-transform: uppercase;
}
#hipo-header-right {
display: flex;
align-items: center;
gap: 10px;
}
#hipo-btn-font {
background: none;
border: 1px solid var(--border);
border-radius: 5px;
padding: 3px 8px;
color: var(--muted);
cursor: pointer;
letter-spacing: 0.05em;
line-height: 1;
transition: color 0.2s, border-color 0.2s;
}
#hipo-btn-font:hover { color: var(--accent); border-color: var(--accent); }
#hipo-btn-font[data-size="0"] { font-size: 9px; }
#hipo-btn-font[data-size="1"] { font-size: 11px; }
#hipo-btn-font[data-size="2"] { font-size: 13px; }
#hipo-btn-close {
background: none;
border: none;
cursor: pointer;
color: var(--muted);
font-size: 10.5px;
letter-spacing: 0.1em;
text-transform: uppercase;
transition: color 0.2s;
padding: 3px 0;
line-height: 1;
}
#hipo-btn-close:hover { color: var(--text); } #hipo-booking-strip {
background: rgba(74,143,212,0.08);
border-bottom: 1px solid var(--border);
padding: 7px 16px;
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
position: relative;
z-index: 2;
}
#hipo-booking-strip span {
font-size: 10.5px;
color: var(--muted);
letter-spacing: 0.03em;
}
#hipo-booking-strip a {
font-size: 10.5px;
color: var(--accent);
text-decoration: none;
letter-spacing: 0.05em;
border-bottom: 1px solid rgba(74,143,212,0.4);
transition: border-color 0.15s;
}
#hipo-booking-strip a:hover { border-color: var(--accent); } #hipo-messages-wrap {
flex: 1;
min-height: 0;
position: relative;
z-index: 1;
}
#hipo-messages {
height: 100%;
overflow-y: auto;
padding: 18px 40px 18px 16px;
display: flex;
flex-direction: column;
gap: 13px;
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: rgba(255,255,255,0.08) transparent;
position: relative;
z-index: 1; } #hipo-nav {
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: 4px;
z-index: 5;
}
#hipo-nav button {
background: transparent;
border: 1px solid rgba(255,255,255,0.1);
border-radius: 7px;
width: 26px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: border-color 0.25s, background 0.25s;
}
#hipo-nav button:hover {
border-color: var(--accent);
background: var(--accent-dim);
}
#hipo-nav button svg {
width: 11px;
height: 11px;
stroke: rgba(226,221,212,0.3);
fill: none;
stroke-width: 2.5;
stroke-linecap: round;
stroke-linejoin: round;
}
#hipo-nav button:hover svg { stroke: var(--accent); } .hipo-msg {
display: flex;
position: relative; opacity: 0;
transform: translateY(6px);
transition: opacity 0.35s ease, transform 0.35s ease;
}
.hipo-msg.hipo-visible {
opacity: 1;
transform: translateY(0);
}
.hipo-msg.hipo-user  { justify-content: flex-end; }
.hipo-msg.hipo-bot   { justify-content: flex-start; } .hipo-msg__actions {
position: absolute;
top: -30px;
right: 0;
display: none;
gap: 4px;
align-items: center;
z-index: 4;
pointer-events: all; }
.hipo-msg:hover .hipo-msg__actions { display: flex; }
.hipo-msg-action {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 6px;
width: 26px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: border-color 0.2s;
pointer-events: all;
}
.hipo-msg-action:hover { border-color: var(--accent); }
.hipo-msg-action--del:hover { border-color: #C4756A; }
.hipo-msg-action svg {
width: 12px;
height: 12px;
stroke: var(--muted);
fill: none;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.hipo-bubble {
max-width: 80%;
padding: 11px 14px;
line-height: 1.7;
font-size: 14px;
position: relative;
z-index: 1; }
.hipo-msg.hipo-bot .hipo-bubble {
background: var(--surface);
color: var(--text);
border-radius: 16px 16px 16px 3px;
border: 1px solid var(--border);
}
.hipo-msg.hipo-user .hipo-bubble {
background: var(--accent);
color: #ffffff;
border-radius: 16px 16px 3px 16px;
box-shadow: 0 3px 14px rgba(74,143,212,0.3);
}
.hipo-msg.hipo-system .hipo-bubble {
background: transparent;
color: var(--muted);
border: 1px dashed rgba(255,255,255,0.1);
border-radius: 10px;
font-size: 12px;
text-align: center;
max-width: 100%;
padding: 10px 16px;
}
.hipo-bubble p + p { margin-top: 0.65em; } .hipo-inline-link {
color: var(--accent);
text-decoration: underline;
text-underline-offset: 3px;
word-break: break-word;
}
.hipo-msg.hipo-user .hipo-inline-link { color: rgba(255,255,255,0.85); }
.hipo-inline-link:hover { opacity: 0.8; }
.hipo-tel-link {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 9px;
padding: 9px 16px;
background: var(--surface);
border: 1px solid var(--accent);
color: var(--accent) !important;
border-radius: 8px;
text-decoration: none;
font-size: 13px;
letter-spacing: 0.03em;
transition: background 0.15s;
}
.hipo-tel-link::before { content: "📞"; font-size: 14px; }
.hipo-tel-link:hover { background: var(--accent-dim); opacity: 1; }
.hipo-wa-link {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 9px;
padding: 9px 16px;
background: rgba(37,211,102,0.1);
border: 1px solid #25d366;
color: #25d366 !important;
border-radius: 8px;
text-decoration: none;
font-size: 13px;
letter-spacing: 0.03em;
transition: background 0.15s;
}
.hipo-wa-link::before { content: "💬"; font-size: 14px; }
.hipo-wa-link:hover { background: rgba(37,211,102,0.18); opacity: 1; }
.hipo-booking-btn {
display: inline-block;
margin-top: 11px;
padding: 8px 16px;
background: var(--accent);
color: #ffffff;
border-radius: 8px;
font-size: 12px;
text-decoration: none;
letter-spacing: 0.04em;
transition: filter 0.15s;
}
.hipo-booking-btn:hover { filter: brightness(1.12); } .hipno-breathing {
width: 18px;
height: 18px;
border-radius: 50%;
border: 1.5px solid var(--accent);
opacity: 0.4;
animation: hipnoBreath 3s ease-in-out infinite;
margin: 4px 2px;
}
@keyframes hipnoBreath {
0%, 100% { transform: scale(0.7); opacity: 0.3; }
50%       { transform: scale(1.3); opacity: 0.7; }
} #hipo-scroll-btn {
position: sticky;
bottom: 0;
align-self: flex-end;
width: 28px;
height: 28px;
border-radius: 50%;
background: var(--surface);
border: 1px solid var(--border);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s;
flex-shrink: 0;
margin-top: auto;
}
#hipo-scroll-btn.visible { opacity: 1; pointer-events: all; } #hipo-input-area {
padding: 12px 16px;
border-top: 1px solid var(--border);
background: var(--surface);
display: flex;
gap: 9px;
align-items: center;
flex-shrink: 0;
position: relative;
z-index: 2;
}
#hipo-input {
flex: 1;
background: rgba(255,255,255,0.04);
border: 1px solid var(--border);
border-radius: 10px;
padding: 10px 14px;
color: var(--text);
font-size: 14px;
font-family: Georgia, serif;
outline: none;
resize: none;
line-height: 1.45;
max-height: 90px;
overflow-y: auto;
transition: border-color 0.15s, box-shadow 0.15s;
}
#hipo-input:focus {
border-color: rgba(74,143,212,0.5);
box-shadow: 0 0 0 3px rgba(74,143,212,0.08);
}
#hipo-input::placeholder { color: var(--muted); }
#hipo-send {
background: var(--accent);
border: none;
border-radius: 10px;
width: 42px;
height: 42px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: filter 0.15s;
box-shadow: 0 3px 12px rgba(74,143,212,0.4);
}
#hipo-send:hover  { filter: brightness(1.15); }
#hipo-send:active { filter: brightness(0.9);  }
#hipo-send:disabled { opacity: 0.35; cursor: default; } #hipo-confirm-delete {
padding: 10px 16px;
background: var(--surface);
border-top: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
flex-shrink: 0;
z-index: 2;
animation: hipo-pop 0.2s ease;
}
#hipo-confirm-delete span {
font-size: 12px;
color: var(--muted);
line-height: 1.4;
}
.hipo-confirm-btns { display: flex; gap: 6px; flex-shrink: 0; }
.hipo-confirm-btns button {
padding: 5px 12px;
border-radius: 6px;
border: 1px solid var(--border);
font-size: 11px;
cursor: pointer;
font-family: Georgia, serif;
background: var(--bg);
color: var(--text);
transition: border-color 0.15s;
}
.hipo-btn-confirm-yes { border-color: #C4756A !important; color: #C4756A !important; }
.hipo-btn-confirm-no:hover  { border-color: var(--accent); } #hipo-toast {
position: fixed;
bottom: 5rem;
left: 50%;
transform: translateX(-50%);
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
padding: 7px 16px;
font-size: 12px;
color: var(--muted);
font-family: Georgia, serif;
z-index: 2147483647;
pointer-events: none;
opacity: 0;
transition: opacity 0.2s;
white-space: nowrap;
}
#hipo-toast.visible { opacity: 1; } @media (max-width: 480px) {
#hipo-bubble,
#hipo-btn-collapsed {
position: fixed !important;
bottom: 24px !important;
right: 16px !important;
top: auto !important;
left: auto !important;
}
#hipo-chat {
border-radius: 0;
box-shadow: none;
}
#hipo-messages {
padding-right: 16px; }
#hipo-nav { display: none; }
#hipo-input {
font-size: 16px !important;
}
#hipo-send {
width: 46px;
height: 46px;
min-width: 46px;
}
#hipo-input-area {
padding-bottom: max(12px, env(safe-area-inset-bottom));
}
} @keyframes hipo-pop {
from { opacity: 0; transform: scale(0.92) translateY(10px); }
to   { opacity: 1; transform: scale(1)    translateY(0);    }
}
@keyframes hipo-msg-in {
from { opacity: 0; transform: translateY(6px); }
to   { opacity: 1; transform: translateY(0);   }
}