#trc-character{position:fixed;z-index:999999;display:flex;align-items:center;gap:10px;pointer-events:none;max-width:calc(100vw - 16px)}
#trc-character .trc-link{display:block;pointer-events:auto;line-height:0;text-decoration:none}
#trc-character .trc-image{display:block;max-width:none;height:auto;filter:drop-shadow(0 6px 12px rgba(0,0,0,.25));transition:transform .2s ease}
#trc-character .trc-link:hover .trc-image{transform:scale(1.04)}
#trc-character .trc-speech{pointer-events:auto;background:#fff;color:#222;border:2px solid #1d3557;border-radius:14px;padding:9px 12px;font-size:14px;font-weight:700;line-height:1.4;box-shadow:0 4px 12px rgba(0,0,0,.18);max-width:220px;position:relative}
#trc-character.trc-speech-top{flex-direction:column}
#trc-character.trc-speech-top .trc-speech:after{content:"";position:absolute;left:50%;bottom:-10px;transform:translateX(-50%);border-width:10px 8px 0;border-style:solid;border-color:#1d3557 transparent transparent}
#trc-character.trc-speech-side.trc-position-right{flex-direction:row-reverse}
#trc-character.trc-animation-slide.trc-position-left{animation:trc-slide-left .9s ease-out both}
#trc-character.trc-animation-slide.trc-position-right{animation:trc-slide-right .9s ease-out both}
#trc-character.trc-animation-bounce .trc-image{animation:trc-bounce 4s ease-in-out infinite}
#trc-character.trc-animation-float .trc-image{animation:trc-float 3s ease-in-out infinite}
@keyframes trc-slide-left{from{transform:translateX(-130%);opacity:0}to{transform:translateX(0);opacity:1}}
@keyframes trc-slide-right{from{transform:translateX(130%);opacity:0}to{transform:translateX(0);opacity:1}}
@keyframes trc-bounce{0%,85%,100%{transform:translateY(0)}90%{transform:translateY(-14px)}95%{transform:translateY(0)}}
@keyframes trc-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@media(max-width:768px){#trc-character{gap:6px}#trc-character .trc-speech{font-size:12px;max-width:150px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){#trc-character,#trc-character .trc-image{animation:none!important;transition:none!important}}
