
#t8-mascot { position: fixed; bottom: 22px; right: 22px; z-index: 9999; font-family: 'Open Sans', sans-serif; }
#t8-mascot-btn {
  width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid #eef2f8;
  box-shadow: 0 10px 28px rgba(13,43,86,0.22); display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; position: relative; animation: t8-bob 3.2s ease-in-out infinite;
}
#t8-mascot-btn img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; animation: t8-wiggle 4.5s ease-in-out infinite; transform-origin: 50% 85%; }
#t8-mascot-btn:hover { box-shadow: 0 14px 34px rgba(13,43,86,0.3); }
#t8-mascot-ping { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; background: #F07E20; border: 2px solid #fff; }
@keyframes t8-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes t8-wiggle { 0%, 80%, 100% { transform: rotate(0deg) scale(1); } 84% { transform: rotate(-9deg) scale(1.05); } 88% { transform: rotate(8deg) scale(1.05); } 92% { transform: rotate(-6deg) scale(1.02); } 96% { transform: rotate(0deg) scale(1); } }

#t8-mascot-bubble {
  position: absolute; bottom: 76px; right: 0; width: 260px; max-height: 60vh; overflow-y: auto;
  background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(13,43,86,0.25); padding: 0.9rem 1rem;
  opacity: 0; transform: translateY(8px) scale(0.96); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
}
#t8-mascot-bubble.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#t8-mascot-bubble::after { content: ""; position: absolute; bottom: -7px; right: 26px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); box-shadow: 3px 3px 6px rgba(13,43,86,0.06); }
#t8-mascot-bubble p { margin: 0 0 0.7rem; font-size: 0.85rem; color: #12203a; line-height: 1.5; }
#t8-mascot-bubble-close { position: absolute; top: 6px; right: 8px; background: none; border: none; font-size: 1rem; color: #aab0bd; cursor: pointer; line-height: 1; padding: 4px; }
.t8-mascot-actions { display: flex; flex-direction: column; gap: 0.4rem; }
.t8-mascot-actions a, .t8-mascot-actions button { display: block; width: 100%; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.76rem; padding: 0.5rem 0.6rem; border-radius: 8px; text-decoration: none; transition: background 0.15s; border: none; cursor: pointer; }
.t8-mascot-actions a.primary, .t8-mascot-actions button.primary { background: #F07E20; color: #fff; }
.t8-mascot-actions a.primary:hover, .t8-mascot-actions button.primary:hover { background: #d96c15; }
.t8-mascot-actions a.secondary, .t8-mascot-actions button.secondary { background: #eef2f8; color: #0D2B56; }
.t8-mascot-actions a.secondary:hover, .t8-mascot-actions button.secondary:hover { background: #e2e9f4; }
#t8-faq-link { display: block; text-align: center; font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700; color: #1E5FA8; margin-top: 0.6rem; cursor: pointer; background: none; border: none; padding: 4px; width: 100%; }
#t8-faq-list { display: none; margin-top: 0.5rem; }
#t8-faq-list.show { display: block; }
.t8-faq-item { border-top: 1px solid #eef2f8; padding: 0.5rem 0; }
.t8-faq-q { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.76rem; color: #0D2B56; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 0.4rem; background: none; border: none; width: 100%; text-align: left; padding: 2px 0; }
.t8-faq-a { display: none; font-size: 0.78rem; color: #3a4256; line-height: 1.5; margin-top: 0.4rem; padding-left: 2px; }
.t8-faq-a.show { display: block; }
.t8-faq-back { display: block; text-align: center; font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 700; color: #6b7185; margin-top: 0.6rem; cursor: pointer; background: none; border: none; padding: 4px; width: 100%; }

@media (max-width: 480px) {
  #t8-mascot { bottom: 14px; right: 14px; }
  #t8-mascot-btn { width: 56px; height: 56px; }
  #t8-mascot-btn img { width: 48px; height: 48px; }
  #t8-mascot-bubble { width: 220px; bottom: 66px; }
}
