/* v34 — independent breathing layer leaves GSAP press/hover transforms untouched. */
#app .item-hotspot.memory-hotspot{overflow:visible;isolation:isolate;touch-action:manipulation;border-radius:50%;cursor:pointer;-webkit-tap-highlight-color:transparent}
#app .memory-hotspot.tip-visible,#app .memory-hotspot:focus-within{z-index:75!important}
#app .memory-hotspot .hotspot-content{animation:none!important;transform:none!important;opacity:1!important;overflow:visible;will-change:auto}
#app .memory-hotspot .hotspot-content::after{display:none!important}
.memory-hotspot-ui{position:absolute;left:50%;top:50%;width:96px;height:96px;transform:translate(-50%,-50%) scale(var(--memory-inverse,1));transform-origin:center;pointer-events:none;color:#fff5dd}
.memory-hotspot-pulse,.memory-hotspot-face{position:absolute;left:12px;top:12px;width:72px;height:72px;border-radius:50%}
.memory-hotspot-pulse{border:1.5px solid #eeb33e;opacity:0;animation:memory-pulse 2.4s ease-out infinite}
.memory-hotspot-face{display:grid;place-items:center;border:0;background:transparent;box-shadow:none;transition:transform .2s;transform-origin:center}
.memory-hotspot-breath{position:absolute;inset:0;border-radius:inherit;transform-origin:center;animation:memory-breathe 2.4s ease-in-out infinite}
.memory-hotspot.is-visited .memory-hotspot-breath,.memory-hotspot.is-pressing .memory-hotspot-breath,.memory-hotspot:focus-visible .memory-hotspot-breath{animation:none;transform:none;opacity:1}
.memory-hotspot:not(.memory-in-view) .memory-hotspot-breath,.memory-hotspot:not(.memory-in-view) .memory-hotspot-pulse{animation-play-state:paused}
.screen:not(.active) .memory-hotspot-breath,body:has(.report-backdrop.open,.ending-overlay.open,.lottery-overlay.open) .memory-hotspot-breath{animation-play-state:paused}
.memory-hotspot-face::before{content:none}
#app .memory-hotspot .memory-hotspot-art{position:absolute;width:79.619px;height:79.619px;left:-3.746px;top:-4.063px;max-width:none;object-fit:contain;filter:drop-shadow(0 2px 2px #173e5826);transition:filter .2s;opacity:.98}
#app .memory-hotspot .memory-page{width:79.549px;height:79.549px;left:-3.743px;top:-4.060px}
.memory-hotspot-check{position:absolute;right:-3px;bottom:-2px;width:25px;height:25px;display:grid;place-items:center;border:2px solid #fff5dd;border-radius:50%;background:#eeb33e;color:#173e58}
.memory-hotspot-check svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}
.memory-hotspot-check[hidden]{display:none}
.memory-hotspot-caption{position:absolute;top:96px;left:50%;transform:translate(-50%,4px);opacity:0;width:max-content;max-width:228px;padding:8px 13px;border:1px solid #d5b265;border-radius:13px;background:#fff5ddf5;color:#173e58;font:16px/1.35 ZCOOLHappy,'Microsoft YaHei',sans-serif;box-shadow:0 2px 7px #173e5817;transition:opacity .2s,transform .2s;text-align:center;white-space:nowrap}
.memory-hotspot-caption::before{content:'';position:absolute;left:calc(50% - 4px);top:-5px;width:8px;height:8px;background:#fff5dd;transform:rotate(45deg);border-top:1px solid #d5b265;border-left:1px solid #d5b265}
.memory-hotspot.tip-visible .memory-hotspot-caption,.memory-hotspot:focus-visible .memory-hotspot-caption{opacity:1;transform:translate(-50%,0)}
#app .memory-hotspot:focus-visible{outline:0}
.memory-hotspot:focus-visible .memory-hotspot-face{outline:2px solid #fff5dd;outline-offset:4px;transform:scale(1.08)}
.memory-hotspot.is-visited .memory-hotspot-pulse{display:none}
.memory-hotspot.is-pressing .memory-hotspot-face{transition:none}
.screen:not(.active) .memory-hotspot-pulse,body:has(.report-backdrop.open,.ending-overlay.open,.lottery-overlay.open) .memory-hotspot-pulse{animation-play-state:paused}
#app .route-controls.has-memory-progress{gap:12px}
.memory-watch-progress{flex:none;white-space:nowrap;display:flex;align-items:center;gap:5px;border-left:1px solid #d8c592;padding-left:11px;font:13px/1.2 'Microsoft YaHei',sans-serif;color:#173e58;font-variant-numeric:tabular-nums}
.memory-watch-progress svg{width:15px;height:15px;fill:none;stroke:#ad7d22;stroke-width:1.8;stroke-linejoin:round}
.memory-watch-progress strong{font-weight:600}
.memory-watch-progress small{font-size:inherit}
#app.compact-ending .route-controls.has-memory-progress{gap:8px}
.compact-ending .memory-watch-progress{font-size:12px;padding-left:7px;gap:4px}
.compact-ending .memory-watch-progress small{display:none}
.memory-live-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
@media(hover:hover) and (pointer:fine){
  #app .memory-hotspot:hover{z-index:75!important}
  .memory-hotspot:hover .memory-hotspot-face{transform:scale(1.08)}
  .memory-hotspot:hover .memory-hotspot-breath{animation:none;transform:none;opacity:1}
  #app .memory-hotspot:hover .memory-hotspot-art{filter:contrast(1.13) brightness(1.015) drop-shadow(0 2px 3px #173e5833)}
  .memory-hotspot:hover .memory-hotspot-caption{opacity:1;transform:translate(-50%,0)}
}
@keyframes memory-pulse{0%{transform:scale(1);opacity:.55}37.5%,100%{transform:scale(1.444444);opacity:0}}
@keyframes memory-breathe{0%,100%{transform:scale(.94);opacity:.9}50%{transform:scale(1.1);opacity:1}}
@media(prefers-reduced-motion:reduce){.memory-hotspot-pulse{animation:none;display:none}.memory-hotspot-breath{animation:none;transform:none;opacity:1}.memory-hotspot-face,.memory-hotspot-caption{transition:none}}
