/* Small, optional moments with the fox. The mark and navigation stay familiar. */
.fox-interactive{position:relative}
.fox-play{position:absolute;inset:0;z-index:3;display:block;width:100%;height:100%;padding:0;border:0;border-radius:50%;background:transparent;color:#baa3d7;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.fox-play:focus-visible{outline:2px dashed #b49ae5;outline-offset:-18px}
.fox-hint{position:absolute;left:50%;bottom:23px;transform:translateX(-50%);white-space:nowrap;font-size:11px;letter-spacing:.35px;padding:7px 12px;border-radius:20px;background:#b49ae50c;border:1px solid #b49ae522;transition:background .25s,color .25s,border-color .25s}
.fox-play:hover .fox-hint,.fox-play:focus-visible .fox-hint{background:#b49ae51c;color:#e6d4fc;border-color:#b49ae555}
.fox-speech{position:absolute;z-index:4;top:9%;right:3%;max-width:250px;padding:13px 17px;background:#292033;color:#eadff6;border:1px solid #b49ae54d;border-radius:18px 18px 3px 18px;box-shadow:0 10px 35px #0002;font-size:14px;line-height:1.5;pointer-events:none;opacity:0;transform:translateY(8px) scale(.95);transition:opacity .25s,transform .4s cubic-bezier(.22,1,.36,1)}
.fox-speech.is-visible{opacity:1;transform:translateY(0) scale(1)}
.fox-spark{position:absolute;left:50%;top:49%;z-index:2;width:5px;height:9px;border-radius:3px;background:#c4a4eb;pointer-events:none;rotate:var(--spark-turn)}
.about-fox .fox-hint{bottom:-10px;font-size:10px}.about-fox .fox-speech{top:-5%;right:-15%;max-width:210px;font-size:12px}
.catalog-emblem>.fox-play{inset:auto;top:-35px;left:50%;transform:translateX(-50%);width:100%;max-width:420px;height:auto;aspect-ratio:1}
.catalog-emblem .fox-hint{bottom:15px;font-size:10px}.catalog-emblem .fox-speech{top:0;right:0;font-size:12px;max-width:210px}
html[data-theme=light] .fox-play{color:#785591}
html[data-theme=light] .fox-hint{background:#ffffff85;border-color:#bfa2d344}
html[data-theme=light] .fox-play:hover .fox-hint,html[data-theme=light] .fox-play:focus-visible .fox-hint{color:#54336d;background:#e8dbf4;border-color:#bea1d3}
html[data-theme=light] .fox-speech{background:#fffcff;color:#624278;border-color:#d7c1e8;box-shadow:0 10px 35px #51326712}
html[data-theme=light] .fox-spark{background:#8962af}
@media(max-width:760px){.fox-hint{font-size:10px;bottom:20px}.fox-speech{top:4%;right:3%;max-width:210px;font-size:12px}.about-fox .fox-speech{right:0}.catalog-emblem>.fox-play{top:-35px}.catalog-emblem .fox-speech{max-width:185px}}
@media(prefers-reduced-motion:reduce){.fox-speech,.fox-hint{transition:none}.fox-speech{transform:none}.fox-spark{display:none}}

.fox-spark.fox-heart{z-index:4;top:42%;width:auto;height:auto;background:none!important;border-radius:0;color:#c2a0ef;font-style:normal;line-height:1;rotate:none;text-shadow:0 2px 12px #b49ae533}
html[data-theme=light] .fox-spark.fox-heart{color:#8d5eb3;text-shadow:0 2px 12px #8d5eb322}
.fox-speech{z-index:5;transition:opacity .18s,transform .22s cubic-bezier(.22,1,.36,1)}
@media(prefers-reduced-motion:reduce){.fox-speech{transition:none}}

.fox-paw{position:absolute;z-index:4;width:25px;height:25px;color:#bfa0e3;pointer-events:none;rotate:-15deg;animation:paw-arrive 4s var(--paw-delay) both}.fox-paw svg{width:100%;height:100%}html[data-theme=light] .fox-paw{color:#8b60aa}
@keyframes paw-arrive{0%{opacity:0;scale:.7}10%,75%{opacity:.8;scale:1}100%{opacity:0;scale:1}}
@media(prefers-reduced-motion:reduce){.fox-paw{animation:none;opacity:.8}}

/* Keep the fox silhouette intact throughout its floating and pet animations. */
.fox-hero .fox-stage,.catalog-emblem .fox-stage{overflow:visible}

/* Fit the entire bitmap inside its stage, including float and pet rotation. */
.fox-hero .fox-stage>.hero-fox{
 width:calc(90% - 24px);height:calc(90% - 24px);
 max-width:none;max-height:none;object-fit:contain;object-position:center;
 left:50%;top:50%;margin:0;transform:translate(-50%,-50%);
}
