/* v5.5.41: self-contained Hazy perch, attached to card geometry, not card links. */
body:is([data-site-theme="safezone"],.nw-hazy-page) #sz-total-conversion .sz-stats{position:relative!important;overflow:visible!important}
#nw-hazy{display:none;position:absolute;left:var(--hazy-x,0px);top:var(--hazy-y,0px);width:0;height:0;z-index:45;pointer-events:none;transition:left .85s ease,top .85s ease;color:#f7e4ce}
body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy.nw-hazy-visible{display:block}
/* A dedicated shelf belongs to Hazy, not the underlying stat card. */
#nw-hazy .nw-hazy-perch{position:absolute;left:-72px;bottom:0;width:144px;height:148px;display:block;pointer-events:auto;cursor:pointer;appearance:none!important;-webkit-appearance:none!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;overflow:visible!important;isolation:isolate;touch-action:manipulation}
#nw-hazy .nw-hazy-perch::before,#nw-hazy .nw-hazy-perch::after{content:none!important;display:none!important}
#nw-hazy .nw-hazy-cat{position:absolute;left:8px;bottom:16px;width:128px;height:128px;object-fit:contain;object-position:center bottom;display:block;pointer-events:none;filter:drop-shadow(0 3px 5px #0009)}
#nw-hazy .nw-hazy-shelf{position:absolute;left:3px;bottom:0;width:138px;height:19px;box-sizing:border-box;border:1px solid #130e0b;border-top:3px solid #a57550;border-radius:3px 3px 6px 6px;background:linear-gradient(180deg,#76513a 0%,#4a3227 24%,#261c19 56%,#181312 100%);box-shadow:inset 0 1px 1px #d19a65aa,inset 0 -2px 1px #090707,0 7px 8px #0008;pointer-events:none}
#nw-hazy .nw-hazy-shelf::before,#nw-hazy .nw-hazy-shelf::after{content:"";position:absolute;top:5px;width:4px;height:4px;border-radius:50%;background:#0d0a08;box-shadow:inset 1px 1px 1px #bd8a62}
#nw-hazy .nw-hazy-shelf::before{left:8px}#nw-hazy .nw-hazy-shelf::after{right:8px}
#nw-hazy .nw-hazy-perch:focus-visible,#nw-hazy .nw-hazy-dismiss:focus-visible,#nw-hazy-restore:focus-visible{outline:2px solid #fac187!important;outline-offset:3px!important}
#nw-hazy .nw-hazy-bubble{position:absolute;left:-99px;bottom:155px;width:198px;box-sizing:border-box;padding:9px 12px 10px;border:1px solid #a46b48;border-radius:9px;background:linear-gradient(145deg,#2d211bfa,#131211fa);box-shadow:0 6px 20px #000a;font:11px/1.4 Arial,sans-serif;text-align:center;pointer-events:none}
#nw-hazy .nw-hazy-bubble[hidden]{display:none}#nw-hazy .nw-hazy-bubble strong{display:block;color:#f2b780;margin-bottom:3px}
#nw-hazy .nw-hazy-dismiss{position:absolute;left:57px;bottom:137px;width:21px;height:21px;pointer-events:auto;border:1px solid #845c44;border-radius:50%;background:#231d1b;color:#f5d8c0;font-size:13px;cursor:pointer;opacity:0}
#nw-hazy:hover .nw-hazy-dismiss,#nw-hazy .nw-hazy-dismiss:focus-visible{opacity:1}
#nw-hazy.nw-hazy-hop .nw-hazy-perch{animation:nw-hazy-perch-hop .85s ease-in-out both}@keyframes nw-hazy-perch-hop{0%,100%{transform:translateY(0)}45%{transform:translateY(-15px)}}
#nw-hazy-restore{display:none;position:fixed;z-index:121;right:12px;bottom:12px;padding:6px 10px;border:1px solid #9b6b49;border-radius:7px;background:#261c18;color:#f2c69b;font:700 11px Arial,sans-serif;cursor:pointer;box-shadow:0 4px 12px #0008}
body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy-restore.nw-hazy-show{display:block}
@media(max-width:700px){#nw-hazy .nw-hazy-perch{left:-53px;width:106px;height:111px}#nw-hazy .nw-hazy-cat{left:5px;bottom:12px;width:96px;height:96px}#nw-hazy .nw-hazy-shelf{left:2px;width:102px;height:14px}#nw-hazy .nw-hazy-bubble{left:-78px;bottom:119px;width:156px}#nw-hazy .nw-hazy-dismiss{left:38px;bottom:101px;opacity:1}}
@media(prefers-reduced-motion:reduce){#nw-hazy{transition:none!important}#nw-hazy.nw-hazy-hop .nw-hazy-perch{animation:none!important}}

/* Phase Two guided callouts: a viewport-tracked outline; never intercepts clicks. */
#nw-hazy-guide{position:fixed;display:none;z-index:110;box-sizing:border-box;pointer-events:none;border:2px solid #ffd17b;box-shadow:0 0 0 3px #ff9e3b66,0 0 17px 6px #ffad4080,inset 0 0 12px #ffbd4650;transition:opacity .15s;animation:nw-hazy-guide-pulse 1.7s ease-in-out infinite}
#nw-hazy-guide.nw-hazy-guide-active{display:block}
@keyframes nw-hazy-guide-pulse{0%,100%{box-shadow:0 0 0 3px #ff9e3b66,0 0 17px 6px #ffad4080,inset 0 0 12px #ffbd4650}50%{box-shadow:0 0 0 5px #ff9e3b80,0 0 24px 9px #ffad40b0,inset 0 0 15px #ffbd4670}}
@media(prefers-reduced-motion:reduce){#nw-hazy-guide{animation:none!important}}

/* v5.5.43: lightweight talking/pointing reaction frames on the existing perch. */
#nw-hazy.nw-hazy-speaking .nw-hazy-cat{transform-origin:50% 100%;animation:nw-hazy-talk-tilt .6s ease-in-out infinite alternate}
#nw-hazy.nw-hazy-pointing .nw-hazy-cat{transform-origin:50% 100%;animation:nw-hazy-point-tilt .75s ease-in-out infinite alternate}
@keyframes nw-hazy-talk-tilt{from{transform:rotate(-1deg)}to{transform:rotate(1deg)}}
@keyframes nw-hazy-point-tilt{from{transform:rotate(-3deg)}to{transform:rotate(2deg)}}
@media(prefers-reduced-motion:reduce){#nw-hazy.nw-hazy-speaking .nw-hazy-cat,#nw-hazy.nw-hazy-pointing .nw-hazy-cat{animation:none!important}}

/* Hazy's secret rap: unobtrusive pawprint at the Safe Zone footer, only visible in this theme. */
#nw-hazy-rap-secret{position:absolute;right:14px;bottom:8px;z-index:30;width:25px;height:25px;padding:0;border:0;background:transparent;color:#c99b72;opacity:.34;font-size:15px;cursor:pointer;filter:grayscale(.5)}
#nw-hazy-rap-secret:hover,#nw-hazy-rap-secret:focus-visible{opacity:1;filter:none;outline:2px solid #e6ac6e;outline-offset:2px;border-radius:6px}
#nw-hazy-rap-secret[hidden],#nw-hazy-rap-stop[hidden]{display:none!important}
#nw-hazy-rap-stop{position:fixed;right:12px;bottom:12px;z-index:130;padding:9px 12px;border:1px solid #c18a55;border-radius:7px;background:#241915;color:#ffe3b6;cursor:pointer;font:700 12px Arial,sans-serif;box-shadow:0 4px 15px #0009}
#nw-hazy .nw-hazy-music{display:none;position:absolute;left:8px;top:-23px;width:128px;color:#ffd178;text-align:center;font:700 18px Arial,sans-serif;text-shadow:0 0 8px #ff8e37;pointer-events:none}
#nw-hazy.nw-hazy-dancing .nw-hazy-music{display:block}
#nw-hazy.nw-hazy-dancing .nw-hazy-shelf{box-shadow:inset 0 1px 1px #d19a65aa,0 0 13px 4px #f6a73d8a}
#nw-hazy.nw-hazy-dancing .nw-hazy-cat{animation:nw-hazy-rap-dance .48s ease-in-out infinite alternate;transform-origin:50% 100%}
@keyframes nw-hazy-rap-dance{0%{transform:translateY(0) rotate(-5deg) scaleX(1)}50%{transform:translateY(-5px) rotate(2deg) scaleX(1.03)}100%{transform:translateY(-2px) rotate(5deg) scaleX(.98)}}
@media(prefers-reduced-motion:reduce){#nw-hazy.nw-hazy-dancing .nw-hazy-cat{animation:none!important}}

/* v5.5.45: reliably discoverable fixed secret control and distinct illustrated dance poses. */
body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy-rap-secret{position:fixed!important;right:18px!important;bottom:18px!important;left:auto!important;top:auto!important;z-index:2147483000!important;display:flex;align-items:center;justify-content:center;width:42px!important;height:42px!important;border:1px solid #a87951!important;border-radius:50%!important;background:#2c2019!important;color:#f4bc83!important;opacity:.78!important;font-size:21px!important;box-shadow:0 2px 12px #000b!important;cursor:pointer!important;filter:none!important;pointer-events:auto!important}
body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy-rap-secret:hover,body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy-rap-secret:focus-visible{opacity:1!important;box-shadow:0 0 0 3px #d9965288,0 2px 14px #000b!important}
body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy-rap-secret[hidden]{display:none!important}
#nw-hazy.nw-hazy-full-pose .nw-hazy-cat{object-fit:contain;object-position:center bottom}
#nw-hazy.nw-hazy-dancing .nw-hazy-cat{animation:none!important}
@media(max-width:700px){body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy-rap-secret{right:12px!important;bottom:12px!important;width:38px!important;height:38px!important}}

/* v5.5.46: Full-body images require their own larger, unclipped drawing area. */
#nw-hazy .nw-hazy-perch{overflow:visible!important;contain:none!important}
#nw-hazy .nw-hazy-cat{max-width:none!important;max-height:none!important;overflow:visible!important}
#nw-hazy.nw-hazy-full-pose .nw-hazy-cat{left:-24px!important;bottom:17px!important;width:192px!important;height:192px!important;object-fit:contain!important;object-position:center bottom!important;clip-path:none!important}
#nw-hazy.nw-hazy-full-pose .nw-hazy-perch{overflow:visible!important}
#nw-hazy.nw-hazy-dancing .nw-hazy-music{top:-80px!important}
@media(max-width:700px){#nw-hazy.nw-hazy-full-pose .nw-hazy-cat{left:-17px!important;bottom:12px!important;width:140px!important;height:140px!important}}


/* v5.5.47: every normal reaction is one held pose, fitted to the perch viewport. */
#nw-hazy .nw-hazy-perch{overflow:hidden!important;contain:paint!important;border-radius:4px!important}
#nw-hazy .nw-hazy-cat,#nw-hazy.nw-hazy-full-pose .nw-hazy-cat{left:8px!important;bottom:16px!important;width:128px!important;height:128px!important;max-width:128px!important;max-height:128px!important;object-fit:contain!important;object-position:center bottom!important;clip-path:none!important}
#nw-hazy.nw-hazy-reacting .nw-hazy-cat{transform-origin:50% 100%;animation:nw-hazy-single-rock .8s ease-in-out infinite alternate!important}
@keyframes nw-hazy-single-rock{from{transform:translateY(0) rotate(-1.2deg)}to{transform:translateY(-2px) rotate(1.2deg)}}
#nw-hazy.nw-hazy-speaking .nw-hazy-cat,#nw-hazy.nw-hazy-pointing .nw-hazy-cat{animation:nw-hazy-single-rock .8s ease-in-out infinite alternate!important}
/* Rap may cycle distinct images, but each is normalized into the same perch box. */
#nw-hazy.nw-hazy-dancing .nw-hazy-cat{left:8px!important;bottom:16px!important;width:128px!important;height:128px!important;max-width:128px!important;max-height:128px!important;animation:nw-hazy-single-rock .34s ease-in-out infinite alternate!important}
#nw-hazy.nw-hazy-dancing .nw-hazy-music{top:1px!important}
/* Secret rap paw: discreet, discoverable, and deliberately away from the admin control. */
body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy-rap-secret{position:fixed!important;left:18px!important;bottom:18px!important;right:auto!important;top:auto!important;width:34px!important;height:34px!important;z-index:2147483000!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid #8c6245!important;border-radius:50%!important;background:#211916e8!important;color:#e7ae78!important;opacity:.58!important;font-size:17px!important;box-shadow:0 3px 10px #0009!important;cursor:pointer!important;pointer-events:auto!important}
body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy-rap-secret:hover,body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy-rap-secret:focus-visible{opacity:1!important;box-shadow:0 0 0 2px #e0a15c66,0 3px 12px #000b!important}
@media(max-width:700px){#nw-hazy .nw-hazy-cat,#nw-hazy.nw-hazy-full-pose .nw-hazy-cat,#nw-hazy.nw-hazy-dancing .nw-hazy-cat{left:5px!important;bottom:12px!important;width:96px!important;height:96px!important;max-width:96px!important;max-height:96px!important}body:is([data-site-theme="safezone"],.nw-hazy-page) #nw-hazy-rap-secret{left:12px!important;bottom:12px!important;right:auto!important}}
@media(prefers-reduced-motion:reduce){#nw-hazy.nw-hazy-reacting .nw-hazy-cat,#nw-hazy.nw-hazy-speaking .nw-hazy-cat,#nw-hazy.nw-hazy-pointing .nw-hazy-cat,#nw-hazy.nw-hazy-dancing .nw-hazy-cat{animation:none!important}}

/* v5.5.50 — ORIGINAL ARTWORK MODE.
   Never crop/re-canvas Hazy source art. The perch adapts to the art instead. */
#nw-hazy .nw-hazy-perch{
  width:190px!important;
  height:190px!important;
  left:-95px!important;
  overflow:visible!important;
  contain:none!important;
  clip-path:none!important;
  border-radius:0!important;
}
#nw-hazy .nw-hazy-shelf{
  left:23px!important;
  right:23px!important;
  bottom:0!important;
}
/* Normal perch artwork remains compact. No clipping. */
#nw-hazy .nw-hazy-cat{
  left:23px!important;
  bottom:16px!important;
  width:144px!important;
  height:144px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  clip-path:none!important;
  overflow:visible!important;
}
/* Pointing reaction uses the untouched full source PNG, scaled as one complete image. */
#nw-hazy:not(.nw-hazy-dancing) .nw-hazy-cat[src*="source-point"]{
  left:15px!important;
  bottom:16px!important;
  width:160px!important;
  height:160px!important;
}
/* Rap mode deliberately makes the COMPLETE original cat small and centered on the shelf. */
#nw-hazy.nw-hazy-dancing .nw-hazy-cat{
  left:48px!important;
  bottom:16px!important;
  width:94px!important;
  height:94px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  clip-path:none!important;
}
@media(max-width:700px){
  #nw-hazy .nw-hazy-perch{width:150px!important;height:150px!important;left:-75px!important;overflow:visible!important;contain:none!important}
  #nw-hazy .nw-hazy-shelf{left:21px!important;right:21px!important}
  #nw-hazy .nw-hazy-cat{left:21px!important;bottom:12px!important;width:108px!important;height:108px!important;max-width:none!important;max-height:none!important}
  #nw-hazy:not(.nw-hazy-dancing) .nw-hazy-cat[src*="source-point"]{left:14px!important;bottom:12px!important;width:122px!important;height:122px!important}
  #nw-hazy.nw-hazy-dancing .nw-hazy-cat{left:40px!important;bottom:12px!important;width:70px!important;height:70px!important}
}

/* pages that hand Hazy their own container */
.nw-hazy-stage{position:relative;overflow:visible}
body.nw-hazy-page .raffle-layout{margin-top:64px}
