/* ホッシーくん: サイト共通。既存ページの配色変数には依存しない。 */
.hossy { display: flex; align-items: flex-end; gap: 12px; margin: 0; }
.hossy--right { flex-direction: row-reverse; }
.hossy--center { justify-content: center; }
.hossy-img { display: block; height: var(--hossy-h, 120px); width: auto; max-width: none; flex-shrink: 0; user-select: none; -webkit-user-drag: none; }
.hossy .hossy-bubble { position: relative; margin: 0 0 18px; padding: 10px 14px; max-width: 20em; background: #1E1E1E; color: #F5F0E6; border: 1px solid rgba(201,168,76,.35); border-radius: 14px; font-size: .875rem; line-height: 1.6; text-align: left; text-wrap: balance; overflow-wrap: anywhere; }
.hossy-bubble::before { content: ''; position: absolute; left: -7px; bottom: 14px; width: 12px; height: 12px; background: #1E1E1E; border-left: 1px solid rgba(201,168,76,.35); border-bottom: 1px solid rgba(201,168,76,.35); transform: rotate(45deg); }
.hossy--right .hossy-bubble::before { left: auto; right: -7px; border-left: 0; border-bottom: 0; border-right: 1px solid rgba(201,168,76,.35); border-top: 1px solid rgba(201,168,76,.35); }
.hossy-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hossy--small { --hossy-h: 96px; }
.hossy--error { --hossy-h: 200px; }
.hossy--stack { flex-direction: column; align-items: center; gap: 16px; }
.hossy--stack .hossy-bubble { margin: 0; }
.hossy--stack .hossy-bubble::before { left: calc(50% - 6px); top: -7px; bottom: auto; transform: rotate(135deg); }
.hossy-section { margin: 24px 0 32px; }
.hossy-demo { margin-top: 24px; }
.hossy-campaign { background: #0A0A0A; border-radius: 14px; padding: 16px; margin: 24px 0; }
.hossy-hero { position: absolute; left: -96px; bottom: -8px; flex-direction: column-reverse; align-items: flex-start; gap: 8px; --hossy-h: 150px; z-index: 2; }
.hossy-hero .hossy-bubble { width: 20em; margin: 0 0 0 8px; }
.hossy-hero .hossy-bubble::before { left: 28px; bottom: -7px; transform: rotate(-45deg); }
.hossy-profile { display: flex; align-items: center; gap: 28px; max-width: 800px; width: calc(100% - 48px); margin: 0 auto 112px; padding: 24px; background: #161616; border: 1px solid rgba(201,168,76,.15); border-radius: 16px; }
.hossy-profile h2 { font-size: 1.1rem; margin: 0 0 12px; color: #F5F0E6; }
.hossy-profile p { font-size: .9375rem; line-height: 1.8; color: #9A9590; margin: 0; }
/* Existing form/code scripts retain ownership of state; only the illustration changes. */
.main:has(#successBox[style*="display: block"]) .hossy-contact-welcome,
.container:has(#no-code:not([hidden])) .hossy-invite-welcome { display: none; }
.hossy--float .hossy-img { animation: hossy-float 4s ease-in-out infinite; }
@keyframes hossy-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (min-width: 768px) and (max-width: 1023px) {
  .hossy-hero { left: 0; bottom: -100px; --hossy-h: 128px; }
}
@media (max-width: 767px) {
  .hossy { --hossy-h: 88px; }
  .hossy--small { --hossy-h: 72px; }
  .hossy--error { --hossy-h: 160px; }
  .hossy .hossy-bubble { font-size: .8125rem; padding: 8px 12px; }
  .hossy-hero { left: -20px; bottom: -12px; --hossy-h: 104px; }
  .hossy-profile { flex-direction: column; text-align: center; gap: 16px; padding: 24px 16px; }
  .hossy-section { flex-direction: column; align-items: center; }
  .hossy-section .hossy-bubble { margin: 0; }
  .hossy-section .hossy-bubble::before { left: calc(50% - 6px); right: auto; top: -7px; bottom: auto; border: 0; border-left: 1px solid rgba(201,168,76,.35); border-bottom: 1px solid rgba(201,168,76,.35); transform: rotate(135deg); }
}
@media (prefers-reduced-motion: reduce) { .hossy--float .hossy-img { animation: none; } }
.hossy-response { --hossy-h: var(--hossy-desktop); }
@media (max-width: 767px) { .hossy-response { --hossy-h: var(--hossy-mobile); } }

.hossy-invite-welcome { --hossy-h: 104px; }
