/* Responses are bound to a real choice. A portrait glint, map ripple,
   companion sparkle and street-light sweep each have their own silhouette. */
.production-response {
  position:absolute;inset:0;z-index:8;pointer-events:none;
  opacity:0;overflow:hidden;animation-duration:.62s;animation-timing-function:ease-out;animation-fill-mode:both;
}
.production-response--character{background:linear-gradient(106deg,transparent 42%,#ffb8ad55 49%,#f4354a44 50%,transparent 57%);background-size:220% 100%;animation-name:production-character-glint}
.production-response--world{background:radial-gradient(ellipse at 50% 50%,transparent 31%,#bde8e977 32%,transparent 33%,transparent 46%,#bedfe633 47%,transparent 48%);animation-name:production-world-ripple}
.production-response--companion{background:radial-gradient(circle at 25% 28%,#fff1c9cc 0 2px,transparent 5px),radial-gradient(circle at 74% 21%,#ffd3a6dd 0 2px,transparent 6px),radial-gradient(circle at 66% 70%,#ffe7abd0 0 2px,transparent 5px);animation-name:production-companion-sparkle}
.production-response--feature{background:linear-gradient(150deg,transparent 28%,#f17c8c46 50%,transparent 70%);background-size:210% 210%;animation-name:production-feature-light}
@keyframes production-character-glint{0%{opacity:0;background-position:100% 0}35%{opacity:.75}100%{opacity:0;background-position:0 0}}
@keyframes production-world-ripple{0%{opacity:0;transform:scale(.82)}35%{opacity:.8}100%{opacity:0;transform:scale(1.15)}}
@keyframes production-companion-sparkle{0%{opacity:0;transform:translateY(8px) scale(.92)}35%{opacity:1}100%{opacity:0;transform:translateY(-10px) scale(1.06)}}
@keyframes production-feature-light{0%{opacity:0;background-position:100% 100%}35%{opacity:.8}100%{opacity:0;background-position:0 0}}

.production-world-swipe-hint{display:none}
@media (pointer:coarse) and (max-width:800px){
  .production-world-swipe .production-world-swipe-hint{
    display:block;position:absolute;right:12px;top:12px;z-index:6;
    padding:6px 10px;border:1px solid #f4d0c766;background:#150b13d9;
    color:#fff4ef;font-size:11px;line-height:1.4;pointer-events:none;
  }
}

/* The existing greeting is also reachable by tapping the pet itself. The
   label remains visible to keyboard and touch users; the source button owns
   all actual behaviour and feedback. */
.production-pet-touch {
  position:absolute;z-index:4;inset:16% 12% 19%;width:76%;height:65%;
  border:0;background:transparent;color:#fff;cursor:pointer;
  display:flex;justify-content:center;align-items:flex-end;padding:0 8px 8px;
  -webkit-tap-highlight-color:transparent;
}
.production-pet-touch span {
  display:inline-block;padding:7px 12px;min-height:36px;
  background:#190b13e8;border:1px solid #edb7a6a3;color:#fff5ec;
  font:600 12px/1.6 'Noto Sans SC','Microsoft YaHei',sans-serif;
  box-shadow:0 3px 14px #0006;white-space:nowrap;
}
.production-pet-touch:hover span,.production-pet-touch:focus-visible span{background:#7e1b30;border-color:#ffd3bb}
.production-pet-touch:focus-visible{outline:3px solid #ffe1ba;outline-offset:-3px}

@media (prefers-reduced-motion:reduce){.production-response{display:none!important}}
html.user-reduce-motion .production-response{display:none!important}
