.platform-eye[role=button]{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.platform-eye[role=button]:focus-visible{outline:none}.platform-eye[role=button]:focus-visible .platform-eye__rim{stroke-width:7;filter:drop-shadow(0 0 7px rgba(143,217,207,.8))}html[data-theme=light] body.page-platforms .platform-eye[role=button]:focus{outline:none;border-radius:0}html[data-theme=light] body.page-platforms .platform-eye[role=button]:focus-visible .platform-eye__rim{stroke-width:7;filter:drop-shadow(0 0 7px rgba(38,117,109,.75))}.platform-eye.is-hurt :is(.platform-eye__aperture,.platform-eye__rim,.platform-eye__shadow){animation:none!important}.platform-eye.is-hurt .platform-eye__rim{stroke:#ff6575}.platform-eye.is-hurt .platform-eye__veins{opacity:.95;stroke-width:4}.platform-eye-scene>.platform-eye,.platform-eye-scene__orbit{transition:opacity .65s ease}.platform-eye-scene.is-vanished>.platform-eye,.platform-eye-scene.is-vanished>.platform-eye-scene__orbit{opacity:0;pointer-events:none}.pet-warning{position:absolute;z-index:3;top:calc(50% + clamp(94px,18vw,178px));left:50%;width:max-content;max-width:calc(100% - 40px);padding:14px 22px;border:1px solid #6b323c;border-radius:14px;background:#151013f2;color:#f5b5bc;box-shadow:0 12px 36px #0005;opacity:0;transform:translate(-50%,8px);transition:opacity .22s ease,transform .3s ease;pointer-events:none}.pet-warning.is-visible{opacity:1;transform:translate(-50%)}.pet-warning.is-severe{border-color:#c8344c;background:#2a0b14f2;color:#ffdce0}.pet-warning__code{display:block;margin-bottom:7px;color:#e17886;font:600 10px/1.2 var(--mono, monospace);letter-spacing:.16em}.pet-warning strong{display:block;font-size:clamp(13px,1.4vw,16px);line-height:1.6}html.pet-sequence-active{overflow:hidden;scrollbar-gutter:stable}.pet-sequence-active body{overflow:hidden}.pet-sequence-active body>:not(.pet-haunt) *,.pet-sequence-active body>:not(.pet-haunt) *:before,.pet-sequence-active body>:not(.pet-haunt) *:after{animation-play-state:paused!important}.pet-haunt{--pet-anger: 0;--pet-coverage: 0;position:fixed;z-index:10000;top:0;right:0;bottom:0;left:0;width:100vw;height:100dvh;overflow:hidden;isolation:isolate;background:transparent;opacity:1;touch-action:none;transition:background-color 1.15s ease,opacity 1.7s ease}.pet-haunt:before{content:"";position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;opacity:0;background:radial-gradient(ellipse,transparent 18%,#130003a8 75%,#000 100%);transition:opacity 1.1s ease}.pet-haunt[data-phase=wandering]:before{opacity:.4}.pet-haunt:is([data-phase=blackout],[data-phase=staring],[data-phase=alerts]){background:#000}.pet-haunt[data-phase=alerts]{background:color-mix(in srgb,#000,#a80820 calc(var(--pet-coverage) * 100%))}.pet-haunt:is([data-phase=red],[data-phase=black],[data-phase=restoring]) .pet-haunt__roaming,.pet-haunt:is([data-phase=red],[data-phase=black],[data-phase=restoring]) .pet-haunt__hero,.pet-haunt:is([data-phase=red],[data-phase=black],[data-phase=restoring]) .pet-haunt__alerts{opacity:0}.pet-haunt[data-phase=red]{background:#d20828}.pet-haunt:is([data-phase=black],[data-phase=restoring]){background:#000}.pet-haunt[data-phase=black]{transition-duration:1.65s}.pet-haunt[data-phase=restoring]{opacity:0;pointer-events:none}.pet-haunt__close{position:absolute;z-index:5;top:max(18px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #a5475866;border-radius:50%;background:#080306a6;color:#d39ba5;font:24px/1 sans-serif;cursor:pointer}.pet-haunt__close:focus-visible{outline:2px solid #ff98a7;outline-offset:4px}.pet-haunt__status{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.pet-haunt__roaming{position:absolute;top:0;right:0;bottom:0;left:0;opacity:1;transition:opacity .65s ease}.pet-haunt:is([data-phase=blackout],[data-phase=staring],[data-phase=alerts]) .pet-haunt__roaming{opacity:0}.pet-haunt__ghost{position:absolute;opacity:0;pointer-events:none}.pet-eye{display:block;width:100%;overflow:visible;filter:drop-shadow(0 0 18px #8c001755)}.pet-eye :is(.platform-eye__aperture,.platform-eye__rim,.platform-eye__shadow){animation:none!important}.pet-eye .platform-eye__shadow{fill:#090002;stroke:color-mix(in srgb,#8fd9cf,#610413 calc(var(--pet-anger) * 100%))}.pet-eye .platform-eye__rim{stroke:color-mix(in srgb,#c6ff55,#ed1438 calc(var(--pet-anger) * 100%));stroke-width:4}.pet-eye .platform-eye__veins{stroke:#b30b29;stroke-width:calc(2 + var(--pet-anger) * 2);opacity:calc(.48 + var(--pet-anger) * .5)}.pet-eye [id$=-platform-eye-white] stop:nth-child(1){stop-color:color-mix(in srgb,#fff,#51101e calc(var(--pet-anger) * 100%))}.pet-eye [id$=-platform-eye-white] stop:nth-child(2){stop-color:color-mix(in srgb,#e4f0e7,#1a0108 calc(var(--pet-anger) * 100%))}.pet-eye [id$=-platform-eye-white] stop:nth-child(3){stop-color:color-mix(in srgb,#8fb0a6,#7c0e26 calc(var(--pet-anger) * 100%))}.pet-eye [id$=-platform-iris-fill] stop:nth-child(1){stop-color:color-mix(in srgb,#0a2422,#230004 calc(var(--pet-anger) * 100%))}.pet-eye [id$=-platform-iris-fill] stop:nth-child(2){stop-color:color-mix(in srgb,#1ba799,#ee0832 calc(var(--pet-anger) * 100%))}.pet-eye [id$=-platform-iris-fill] stop:nth-child(3){stop-color:color-mix(in srgb,#c6ff55,#ff5372 calc(var(--pet-anger) * 100%))}.pet-eye [id$=-platform-iris-fill] stop:nth-child(4){stop-color:color-mix(in srgb,#0b4946,#5a0016 calc(var(--pet-anger) * 100%))}.pet-eye .platform-eye__gaze circle:nth-child(2){stroke:color-mix(in srgb,#123e3d,#580514 calc(var(--pet-anger) * 100%))}.pet-eye .platform-eye__gaze circle:nth-child(3){stroke:color-mix(in srgb,#dbff87,#ff7187 calc(var(--pet-anger) * 100%))}.pet-eye .platform-eye__gaze circle:nth-child(4){fill:#040002;transform-box:fill-box;transform-origin:center;transform:scaleX(calc(1 - var(--pet-anger) * .62))}.pet-eye .platform-eye__gaze circle:nth-child(5){fill:color-mix(in srgb,#fff,#ffb3c0 calc(var(--pet-anger) * 100%));opacity:.65}.pet-eye .platform-eye__gaze circle:nth-child(6){fill:#ff4b6f}.pet-haunt__hero{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;opacity:0;transform:scale(.88);transition:opacity 1s ease,transform 2s ease;pointer-events:none}.pet-haunt__hero .pet-eye{width:min(76vw,640px);filter:drop-shadow(0 0 42px #bf082966)}.pet-haunt[data-phase=staring] .pet-haunt__hero{opacity:1;transform:scale(1)}.pet-haunt[data-phase=alerts] .pet-haunt__hero{opacity:.4;transform:scale(1.12)}.pet-haunt__alerts{position:absolute;top:0;right:0;bottom:0;left:0;transition:opacity .65s ease;pointer-events:none}.pet-haunt__warning{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:140px;min-height:100px;padding:16px 12px;border:1px solid #ff6580;border-radius:18px;background:linear-gradient(140deg,#9c0524,#d81134 60%,#870c24);color:#fff0f3;box-shadow:0 8px 26px #1f000677,inset 0 1px #ff93a04d;transform:translate(-50%,-50%) rotate(var(--warning-turn));animation:pet-warning-arrive .34s ease-out both}.pet-haunt__warning span{font:600 clamp(7px,.7vw,10px)/1.2 var(--mono, monospace);letter-spacing:.09em}.pet-haunt__warning strong{font-size:clamp(23px,3vw,44px);line-height:1.1;letter-spacing:.05em;white-space:nowrap}@keyframes pet-warning-arrive{0%{opacity:0;transform:translate(-50%,-50%) rotate(var(--warning-turn)) scale(.82)}to{opacity:1;transform:translate(-50%,-50%) rotate(var(--warning-turn)) scale(1)}}@media (max-width: 700px){html[data-theme=prism] body.page-platforms .platform-eye-scene__orbit,html[data-theme=prism] body.page-platforms .platform-eye-scene__orbit:before,html[data-theme=prism] body.page-platforms .platform-eye-scene__orbit:after{border-color:#09060eb8}.pet-warning{padding:12px 16px;text-align:center}.pet-haunt__hero .pet-eye{width:86vw}.pet-haunt__warning{gap:8px;min-height:90px;border-radius:14px}}@media (prefers-reduced-motion: reduce){.pet-haunt{transition-duration:.6s}.pet-warning,.pet-haunt__hero,.platform-eye-scene>.platform-eye,.platform-eye-scene__orbit{transition:none}.pet-haunt__warning{animation:none}}
