/* Theme-only artwork; the contact and concierge plugins retain all behavior. */
.gc-mascot-loading #fcp-root,
.gc-mascot-loading #gc-concierge .mc-launch { visibility: hidden; pointer-events: none; }
body.gc-mascot-ready #gc-concierge .mc-launch {
  right: calc(8px + env(safe-area-inset-right, 0px));
  bottom: -25.2px;
  display: block;
  width: 150px;
  height: auto;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1278 / 1230;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transition: transform .22s cubic-bezier(.2,.8,.3,1);
  -webkit-tap-highlight-color: transparent;
}
body.gc-mascot-ready:has(#gc-concierge:not([hidden])) #fcp-root {
  right: calc(55px + env(safe-area-inset-right, 0px));
  bottom: 135px;
}
.gc-cat-entry, .gc-cat-character {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1278 / 1230;
  pointer-events: none;
}
.gc-cat-entry { animation: gc-cat-enter 760ms cubic-bezier(.22,.7,.3,1) both; }
.gc-cat-character { transform-origin: 52% 96%; animation: gc-cat-idle 8s ease-in-out 760ms infinite; }
#gc-concierge .gc-cat-character img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  user-select: none;
  pointer-events: none;
}
.gc-cat-arm { transform-origin: 32% 72%; animation: gc-cat-wave 2.4s ease-in-out 760ms infinite; }
.gc-cat-blink {
  opacity: 0;
  mask-image: radial-gradient(ellipse 8.5% 8.7% at 36.5% 40%,#000 82%,transparent 100%), radial-gradient(ellipse 8.7% 8.8% at 63.4% 39.1%,#000 82%,transparent 100%);
  animation: gc-cat-blink 4.7s ease-in-out 760ms infinite;
}
#gc-concierge .gc-cat-bubble {
  box-sizing: border-box;
  position: absolute;
  right: calc(100% - 8px);
  bottom: 58px;
  width: 236px;
  padding: 15px 18px;
  border: 1px solid #e7e0eb;
  border-radius: 17px;
  background: #fff;
  color: #382347;
  text-align: left;
  box-shadow: 0 5px 22px #25172e14;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(5px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.gc-cat-bubble::after {
  content: '';
  position: absolute;
  right: -7px;
  bottom: 23px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid #e7e0eb;
  border-right: 1px solid #e7e0eb;
  transform: rotate(45deg);
}
.gc-cat-bubble > span { display: block; margin-bottom: 5px; font-size: 12px; color: #76667f; }
.gc-cat-bubble > strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.6; }
body.gc-mascot-ready #gc-concierge .mc-launch:focus-visible .gc-cat-bubble { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (pointer: fine) {
  body.gc-mascot-ready #gc-concierge .mc-launch:hover { transform: translateY(-3px); }
  body.gc-mascot-ready #gc-concierge .mc-launch:hover .gc-cat-bubble { opacity: 1; visibility: visible; transform: none; }
  body.gc-mascot-ready #fcp-toggle[data-type="line"]:hover { transform: translateY(-3px) scale(1.07); }
}
body.gc-mascot-ready #gc-concierge .mc-launch:active { transform: translateY(-1px) scale(.98); }
body.gc-mascot-ready #fcp-toggle[data-type="line"]:active { transform: scale(.96); }
body.gc-mascot-ready #gc-concierge .mc-launch[aria-expanded="true"] .gc-cat-bubble { opacity: 0; visibility: hidden; }
body.gc-mascot-paused .gc-cat-entry,
body.gc-mascot-paused .gc-cat-character,
body.gc-mascot-paused .gc-cat-arm,
body.gc-mascot-paused .gc-cat-blink { animation-play-state: paused; }
@keyframes gc-cat-enter {
  0% { transform: translateY(110%); }
  66% { transform: translateY(-10px); }
  85% { transform: translateY(3px); }
  100% { transform: translateY(0); }
}
@keyframes gc-cat-idle { 0%,100% { transform: rotate(-.22deg); } 50% { transform: rotate(.22deg); } }
@keyframes gc-cat-wave {
  0%,100% { transform: rotate(0); }
  20% { transform: rotate(3deg); }
  40% { transform: rotate(-7deg); }
  60% { transform: rotate(7deg); }
  80% { transform: rotate(-3deg); }
}
@keyframes gc-cat-blink { 0%,90%,96%,100% { opacity: 0; } 93% { opacity: 1; } }
@media (min-width: 481px) {
  body.gc-mascot-ready:has(#gc-concierge:not([hidden])) #fcp-root { right: calc(51px + env(safe-area-inset-right, 0px)); }
  body.gc-mascot-ready #fcp-toggle[data-type="line"] { width: 64px; height: 64px; }
  body.gc-mascot-ready #fcp-toggle[data-type="line"] .fcp-icon-wrap,
  body.gc-mascot-ready #fcp-toggle[data-type="line"] .fcp-icon-wrap svg { width: 30px; height: 30px; }
}
@media (max-width: 480px) {
  body.gc-mascot-ready #gc-concierge .mc-launch { width: 110px; right: calc(-12px + env(safe-area-inset-right, 0px)); bottom: -17.28px; }
  body.gc-mascot-ready:has(#gc-concierge:not([hidden])) #fcp-root { right: calc(15px + env(safe-area-inset-right, 0px)); bottom: 99px; }
  #gc-concierge .gc-cat-bubble { width: min(236px, calc(100vw - 120px - env(safe-area-inset-right, 0px))); padding: 12px; bottom: 32px; }
}
/* Touch focus can remain after the AI dialog closes; omit the hover hint. */
@media (hover: none), (pointer: coarse), (max-width: 480px) {
  #gc-concierge .gc-cat-bubble { display: none; }
  body.gc-mascot-ready #gc-concierge .mc-launch:focus,
  body.gc-mascot-ready #gc-concierge .mc-launch:focus-visible { outline: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gc-cat-entry, .gc-cat-character, .gc-cat-arm, .gc-cat-blink { animation: none; }
  body.gc-mascot-ready #gc-concierge .mc-launch,
  body.gc-mascot-ready #gc-concierge .gc-cat-bubble,
  body.gc-mascot-ready #fcp-toggle[data-type="line"] { transition: none; }
  body.gc-mascot-ready #gc-concierge .mc-launch:hover,
  body.gc-mascot-ready #gc-concierge .mc-launch:active,
  body.gc-mascot-ready #fcp-toggle[data-type="line"]:hover,
  body.gc-mascot-ready #fcp-toggle[data-type="line"]:active { transform: none; }
}
