#hipo-widget,
#hipo-widget * {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: Georgia, 'Times New Roman', serif;
} #hipo-widget {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 2147483647;
}
#hipo-bubble {
display: flex;
align-items: center;
cursor: pointer;
filter: drop-shadow(0 4px 16px rgba(26,58,110,0.28));
animation: hipo-pop 0.35s ease;
}
#hipo-bubble-label {
background: #1a3a6e;
color: #f0f5ff;
padding: 10px 18px 10px 20px;
border-radius: 30px 0 0 30px;
font-size: 11px;
line-height: 1.45;
letter-spacing: 0.04em;
text-align: right;
user-select: none;
}
#hipo-bubble-label .hipo-line1 {
opacity: 0.65;
font-size: 10px;
}
#hipo-bubble-icon {
width: 52px;
height: 52px;
border-radius: 0 26px 26px 0;
background: #1a3a6e;
display: flex;
align-items: center;
justify-content: center;
border-left: 1px solid rgba(255,255,255,0.1);
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: #4caf7d;
border: 2px solid #f9fafb;
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: #1a3a6e;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 20px rgba(26,58,110,0.35);
transition: filter 0.2s;
animation: hipo-pop 0.25s ease;
}
#hipo-btn-collapsed:hover { filter: brightness(1.15); } #hipo-chat {
width: 380px;
height: 550px;
background: #f9fafb;
border-radius: 16px;
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow:
0 20px 60px rgba(26,58,110,0.18),
0 0 0 1px rgba(26,58,110,0.08);
animation: hipo-pop 0.25s ease;
} #hipo-header {
background: #1a3a6e;
padding: 14px 18px;
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0; position: sticky;
top: 0;
z-index: 10;
}
#hipo-header-left {
display: flex;
align-items: center;
gap: 9px;
}
#hipo-status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #4caf7d;
box-shadow: 0 0 6px #4caf7d;
flex-shrink: 0;
}
#hipo-header-title {
color: #f0f5ff;
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 rgba(255,255,255,0.2);
border-radius: 5px;
padding: 3px 8px;
color: #f0f5ff;
cursor: pointer;
letter-spacing: 0.05em;
opacity: 0.7;
line-height: 1;
transition: opacity 0.15s;
}
#hipo-btn-font:hover { opacity: 1; }
#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: #f0f5ff;
font-size: 10.5px;
letter-spacing: 0.1em;
text-transform: uppercase;
opacity: 0.6;
transition: opacity 0.15s;
padding: 3px 0;
line-height: 1;
}
#hipo-btn-close:hover { opacity: 1; } #hipo-booking-strip {
background: #edf2fb;
border-bottom: 1px solid rgba(26,58,110,0.1);
padding: 8px 18px;
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
}
#hipo-booking-strip span {
font-size: 10.5px;
color: #1a3a6e;
opacity: 0.75;
letter-spacing: 0.03em;
}
#hipo-booking-strip a {
font-size: 10.5px;
color: #1a3a6e;
text-decoration: none;
border-bottom: 1px solid rgba(26,58,110,0.5);
letter-spacing: 0.05em;
transition: border-color 0.15s;
}
#hipo-booking-strip a:hover { border-color: #1a3a6e; } #hipo-messages {
flex: 1;
min-height: 0; overflow-y: auto;
padding: 18px 16px;
display: flex;
flex-direction: column;
gap: 13px;
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: rgba(26,58,110,0.15) transparent;
position: relative;
} .hipo-msg {
display: flex;
animation: hipo-msg-in 0.22s ease;
}
.hipo-msg.hipo-user   { justify-content: flex-end; }
.hipo-msg.hipo-bot    { justify-content: flex-start; } .hipo-bubble {
max-width: 80%;
padding: 11px 15px;
line-height: 1.7;
font-size: 14px;
} .hipo-msg.hipo-bot .hipo-bubble {
background: #ffffff;
color: #1a2840;
border-radius: 16px 16px 16px 3px;
border: 1px solid rgba(26,58,110,0.1);
box-shadow: 0 2px 10px rgba(26,58,110,0.07);
} .hipo-msg.hipo-user .hipo-bubble {
background: #1a3a6e;
color: #f0f5ff;
border-radius: 16px 16px 3px 16px;
box-shadow: 0 3px 12px rgba(26,58,110,0.28);
} .hipo-msg.hipo-system .hipo-bubble {
background: transparent;
color: #6a85b2;
border: 1px dashed rgba(26,58,110,0.2);
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: #1a3a6e;
text-decoration: underline;
text-underline-offset: 3px;
word-break: break-word;
}
.hipo-msg.hipo-user .hipo-inline-link {
color: #a8c4f0;
}
.hipo-inline-link:hover { opacity: 0.8; } .hipo-booking-btn {
display: inline-block;
margin-top: 11px;
padding: 8px 16px;
background: #1a3a6e;
color: #f0f5ff;
border-radius: 8px;
font-size: 12px;
text-decoration: none;
letter-spacing: 0.04em;
box-shadow: 0 2px 8px rgba(26,58,110,0.25);
transition: filter 0.15s;
}
.hipo-booking-btn:hover { filter: brightness(1.12); } .hipo-typing {
display: flex;
gap: 5px;
align-items: center;
padding: 4px 2px;
}
.hipo-typing span {
width: 7px;
height: 7px;
border-radius: 50%;
background: #6a85b2;
animation: hipo-bounce 1.2s ease-in-out infinite;
opacity: 0.6;
}
.hipo-typing span:nth-child(2) { animation-delay: 0.2s; }
.hipo-typing span:nth-child(3) { animation-delay: 0.4s; } #hipo-scroll-btn {
position: sticky;
bottom: 0;
align-self: flex-end;
width: 28px;
height: 28px;
border-radius: 50%;
background: #ffffff;
border: 1px solid rgba(26,58,110,0.15);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 8px rgba(26,58,110,0.12);
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 rgba(26,58,110,0.1);
background: #f9fafb;
display: flex;
gap: 9px;
align-items: center;
flex-shrink: 0;
}
#hipo-input {
flex: 1;
background: #ffffff;
border: 1.5px solid rgba(26,58,110,0.18);
border-radius: 10px;
padding: 10px 14px;
color: #1a2840;
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: #1a3a6e;
box-shadow: 0 0 0 3px rgba(26,58,110,0.1);
}
#hipo-input::placeholder { color: #6a85b2; }
#hipo-send {
background: #1a3a6e;
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 10px rgba(26,58,110,0.3);
}
#hipo-send:hover  { filter: brightness(1.15); }
#hipo-send:active { filter: brightness(0.9);  }
#hipo-send:disabled { opacity: 0.4; cursor: default; } #hipo-confirm-delete {
padding: 10px 16px;
background: #edf2fb;
border-top: 1px solid rgba(26,58,110,0.1);
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
flex-shrink: 0;
animation: hipo-pop 0.2s ease;
}
#hipo-confirm-delete span {
font-size: 12px;
color: #1a3a6e;
opacity: 0.85;
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: none;
font-size: 11px;
cursor: pointer;
font-family: Georgia, serif;
}
.hipo-btn-confirm-yes { background: #1a3a6e; color: #f0f5ff; }
.hipo-btn-confirm-no  { background: rgba(26,58,110,0.1); color: #1a3a6e; } @media (max-width: 480px) { #hipo-bubble,
#hipo-btn-collapsed {
position: fixed;
bottom: 24px;
right: 16px;
top: auto;
left: auto;
} #hipo-chat {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
border-radius: 0;
box-shadow: none;
} #hipo-input-area {
padding-bottom: max(12px, env(safe-area-inset-bottom));
} #hipo-input {
font-size: 16px !important;
} #hipo-send {
width: 46px;
height: 46px;
}
} @keyframes hipo-pop {
from { opacity: 0; transform: scale(0.94) translateY(8px); }
to   { opacity: 1; transform: scale(1)    translateY(0);   }
}
@keyframes hipo-msg-in {
from { opacity: 0; transform: translateY(5px); }
to   { opacity: 1; transform: translateY(0);   }
}
@keyframes hipo-bounce {
0%, 60%, 100% { transform: translateY(0);  }
30%           { transform: translateY(-5px); }
}