/* R52 — The Eyes of Hypatia / chroma sentry experience.
   Deliberate theatrical UI, not a real-time intrusion verdict. */
.hy-secure-seal.hy-watch-ready{
  --sentry-cyan:#38ffef;--sentry-blue:#56b9ff;--sentry-purple:#a778ff;--sentry-pink:#ff58d7;
  --eye-x:0px;--eye-y:0px;
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;align-items:center;gap:16px;
  border:1px solid #9be9ff8a;border-radius:18px;
  background:
    radial-gradient(ellipse at 18% 50%,#113f548f,transparent 56%),
    radial-gradient(ellipse at 93% 13%,#501c6785,transparent 49%),
    linear-gradient(115deg,#070916f7,#0e0c22fa 70%,#111329f7);
  box-shadow:inset 0 1px #b6eaff56,inset 0 -1px #ff69d62f,0 0 24px #42f3f832,0 0 32px #da5aff18,0 12px 34px #0009;
  animation:hyWatchAura 4.8s ease-in-out infinite alternate;
}
.hy-secure-seal.hy-watch-ready::before{
  content:"";position:absolute;inset:0;padding:2px;width:auto;height:auto;
  border-radius:inherit;left:0;top:0;
  background:conic-gradient(from 45deg,#33fff2,#5f8fff,#cf6aff,#fe53c7,#ffca54,#41ffe4,#4c8fff,#a864fb,#33fff2);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  pointer-events:none;z-index:1;
  animation:hyWatchChroma 6s linear infinite;
  opacity:1;filter:drop-shadow(0 0 10px #64ebff);
}
.hy-secure-seal.hy-watch-ready::after{
  content:"";position:absolute;inset:-30% -45%;width:auto;height:auto;
  background:linear-gradient(110deg,transparent 40%,#9efcff14 50%,#f17bff20 53%,transparent 63%);
  transform:translateX(-95%) skewX(-11deg);pointer-events:none;z-index:0;
  animation:hyWatchSweep 7.1s ease-in-out infinite;
}
.hy-watch-ready .hy-secure-mark{
  flex:0 0 78px;width:78px;height:78px;position:relative;
  z-index:2;border-radius:50%;isolation:isolate;overflow:visible;
  background:radial-gradient(circle,#174468 0%,#0a1430 62%,#09091d 100%);
  box-shadow:inset 0 0 21px #54d8fa53,0 0 19px #49f5ff5c,0 0 23px #b764fa2c;
  border:1px solid #55e8ed94;
}
.hy-watch-ready .hy-secure-mark::before{
  content:"";position:absolute;inset:-5px;border-radius:50%;
  background:conic-gradient(from 45deg,#43ffea,#38b8ff,transparent,#dd65fa,#fd64a8,transparent,#54ffeb);
  -webkit-mask:radial-gradient(circle,transparent 60%,#000 65%);
  mask:radial-gradient(circle,transparent 60%,#000 65%);
  animation:hyWatchRotate 6s linear infinite;
  filter:drop-shadow(0 0 9px #5ff6ff);z-index:0;
}
.hy-watch-ready .hy-secure-mark::after{
  content:"";position:absolute;inset:9px;border-radius:50%;
  border:1px dashed #78eaff57;animation:hyWatchRotateReverse 12s linear infinite;
  box-shadow:0 0 18px #8f68ff38;z-index:0;
}
.hy-watch-ready .hy-secure-mark svg{display:none!important}
.hy-watch-eye{
  position:absolute;inset:23px 10px 23px;z-index:2;
  border-radius:60% 12% / 60% 12%;transform:rotate(45deg);
  overflow:hidden;border:2px solid #a9faff;
  background:radial-gradient(ellipse at center,#0e3660 7%,#0c1a43 65%,#060a16 100%);
  box-shadow:inset 0 0 13px #88faff9a,0 0 9px #5ce8ff99;
}
.hy-watch-iris{
  position:absolute;left:50%;top:50%;width:29px;height:29px;
  border-radius:50%;transform:translate(calc(-50% + var(--eye-x)),calc(-50% + var(--eye-y)));
  background:radial-gradient(circle at center,#0c1020 0 24%,#3be7ee 27%,#69b9fe 52%,#ad79fa 64%,#38fbf0 78%,#00192e 86%);
  box-shadow:0 0 12px #46ffeecc,inset 0 0 8px #27f9ff8a;
  transition:transform .12s ease-out;
}
.hy-watch-iris::after{
  content:"";position:absolute;width:6px;height:6px;top:5px;left:6px;
  border-radius:50%;background:#fff;box-shadow:0 0 5px #fff;
}
.hy-watch-lid{
  position:absolute;inset:-2px;background:linear-gradient(145deg,#081630,#140f31);
  transform:translateY(-108%);animation:hyWatchBlink 8.5s ease-in-out infinite;
  pointer-events:none;
}
.hy-watch-ring{position:absolute;inset:3px;border:1px solid #d47bff4d;border-radius:50%;z-index:0;box-shadow:0 0 12px #87a6ff30}
.hy-watch-ready .hy-secure-words{position:relative;z-index:3;min-width:0;gap:6px;flex:1 1 auto}
.hy-watch-ready .hy-secure-overline{
  font-size:10px;letter-spacing:.24em;font-weight:800;line-height:1.35;
  background:linear-gradient(100deg,#55fff0,#79b6ff,#e383ff,#f880d0);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-transform:uppercase;
}
.hy-watch-ready .hy-secure-title{
  display:block;font-size:clamp(17px,1.8vw,25px);
  line-height:1.11;font-weight:900;letter-spacing:-.045em;
  color:#f6fbff;text-shadow:0 0 22px #69dfff40;
}
.hy-watch-ready .hy-secure-title em{
  font-style:normal;background:linear-gradient(95deg,#46fff1 0%,#78a5ff 35%,#c46cff 67%,#ff58ce 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 0 8px #917aff55)
}
.hy-watch-ready .hy-secure-note{font-size:11px;color:#b9cce2;line-height:1.65;letter-spacing:0}
.hy-watch-ready.hy-secure-hero{
  width:min(100%,535px);max-width:535px;
  min-height:126px;padding:18px 19px 17px 16px;
  margin:8px 0 22px;gap:17px;
}
.hy-watch-ready.hy-secure-hero .hy-secure-mark{flex-basis:87px;width:87px;height:87px}
.hy-watch-ready.hy-secure-hero .hy-watch-eye{inset:25px 12px}
.hy-watch-ready.hy-secure-hero .hy-secure-title{font-size:clamp(23px,2.25vw,30px)}
.hy-watch-ready.hy-secure-hero .hy-secure-note{font-size:11px}
.hy-watch-ready .hy-watch-test{
  appearance:none;display:inline-flex;align-items:center;gap:6px;margin-top:5px;
  padding:0;min-height:20px;max-width:max-content;
  background:transparent;color:#8ef7fd;letter-spacing:.08em;
  font-size:9px;font-weight:800;line-height:1.3;text-transform:uppercase;
  border:0;border-bottom:1px solid #67e4e799;cursor:pointer;
  text-shadow:0 0 12px #62ffef40;transition:color .2s;
}
.hy-watch-ready .hy-watch-test:hover{color:#fce7ff;border-bottom-color:#fc7de3}
.hy-watch-ready .hy-watch-test:focus-visible{outline:2px solid #6effed;outline-offset:4px}
.hy-watch-ready.hy-secure-compact{
  padding:12px 16px;min-height:75px;gap:12px;
}
.hy-watch-ready.hy-secure-compact .hy-secure-mark{flex-basis:56px;width:56px;height:56px}
.hy-watch-ready.hy-secure-compact .hy-watch-eye{inset:17px 7px}
.hy-watch-ready.hy-secure-compact .hy-watch-iris{width:23px;height:23px}
.hy-watch-ready.hy-secure-compact .hy-secure-overline{font-size:8px}
.hy-watch-ready.hy-secure-compact .hy-secure-title{font-size:clamp(16px,1.25vw,20px)}
.hy-watch-ready.hy-secure-compact .hy-secure-note{font-size:10px}
.hy-watch-ready.hy-secure-footer .hy-secure-words{flex:1 1 280px}
.hy-watch-ready .hy-watch-dots{display:inline-flex;gap:4px;align-items:center;margin-left:4px;vertical-align:middle}
.hy-watch-ready .hy-watch-dots i{width:4px;height:4px;border-radius:50%;background:#53ffec;box-shadow:0 0 8px #53ffe7;animation:hyWatchDots 1.6s ease-in-out infinite}
.hy-watch-ready .hy-watch-dots i:nth-child(2){animation-delay:.3s;background:#a176ff}
.hy-watch-ready .hy-watch-dots i:nth-child(3){animation-delay:.6s;background:#fb73d4}
.hy-watch-ready a{color:#78f4ff;font-size:10px;position:relative;z-index:3}
.hy-watch-encounter[hidden]{display:none!important}
.hy-watch-encounter{
  position:fixed;right:25px;bottom:107px;z-index:2450;
  display:grid;grid-template-columns:94px minmax(0,1fr);
  width:min(440px,calc(100vw - 34px));min-height:147px;
  border:1px solid #6dedff;border-radius:17px;
  color:#eafaff;background:
    linear-gradient(120deg,#031725ed,#140b2bf2 65%,#1d1032f5),
    #071020;
  box-shadow:0 0 0 1px #d867ff6b,0 0 23px #37dffe80,0 0 48px #aa52fd58,0 16px 62px #000d;
  overflow:hidden;isolation:isolate;
  animation:hyWatchArrival .38s cubic-bezier(.18,.78,.14,1) both;
}
.hy-watch-encounter::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(110deg,transparent 30%,#fff3 45%,transparent 56%);transform:translateX(-110%);
  animation:hyWatchSweep 4s ease-in-out infinite;
  z-index:0;
}
.hy-watch-encounter img{
  width:94px;height:100%;min-height:147px;object-fit:cover;
  object-position:center 24%;border-right:1px solid #77dbff77;position:relative;z-index:2;
}
.hy-watch-encounter-copy{padding:17px 34px 16px 16px;position:relative;z-index:2}
.hy-watch-encounter-kicker{
  display:block;margin-bottom:7px;font-size:8px;font-weight:800;
  letter-spacing:.19em;color:#65f9ed;text-transform:uppercase;
}
.hy-watch-encounter-name{
  display:block;margin-bottom:7px;font-size:20px;font-weight:850;line-height:1.05;
  letter-spacing:-.04em;color:#fff;
}
.hy-watch-encounter-text{font-size:12px;line-height:1.55;color:#d0def2;margin:0}
.hy-watch-encounter-close{
  position:absolute;right:7px;top:6px;z-index:4;
  appearance:none;border:1px solid #8ae4ff65;background:#0b1d35bf;
  color:#b7faff;border-radius:50%;height:24px;width:24px;
  display:grid;place-items:center;font-size:15px;line-height:1;cursor:pointer;
}
.hy-watch-encounter-close:focus-visible{outline:2px solid #8efbef;outline-offset:2px}
@keyframes hyWatchAura{
 from{box-shadow:inset 0 1px #b6eaff45,0 0 18px #42f3f82d,0 0 26px #da5aff17,0 12px 34px #0009}
 to{box-shadow:inset 0 1px #b6eaff76,0 0 29px #42f3f85c,0 0 41px #da5aff42,0 12px 34px #0009}
}
@keyframes hyWatchChroma{50%{filter:hue-rotate(130deg) brightness(1.25)}to{filter:hue-rotate(360deg)}}
@keyframes hyWatchSweep{
 0%,20%{transform:translateX(-110%) skewX(-12deg)}
 64%,100%{transform:translateX(115%) skewX(-12deg)}
}
@keyframes hyWatchRotate{to{transform:rotate(360deg)}}
@keyframes hyWatchRotateReverse{to{transform:rotate(-360deg)}}
@keyframes hyWatchBlink{0%,43%,47%,100%{transform:translateY(-108%)}44%,46%{transform:translateY(0)}}
@keyframes hyWatchDots{0%,100%{opacity:.3;transform:scale(.65)}50%{opacity:1;transform:scale(1.1)}}
@keyframes hyWatchArrival{from{opacity:0;transform:translateY(24px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:800px){
 .hy-secure-seal.hy-watch-ready{width:100%;max-width:100%}
 .hy-watch-ready.hy-secure-hero{padding:14px 13px;gap:12px;min-height:120px}
 .hy-watch-ready.hy-secure-hero .hy-secure-mark{width:66px;height:66px;flex-basis:66px}
 .hy-watch-ready.hy-secure-hero .hy-watch-eye{inset:19px 9px}
 .hy-watch-ready.hy-secure-hero .hy-secure-title{font-size:clamp(19px,5.1vw,24px)}
 .hy-watch-ready .hy-secure-overline{font-size:8px}
 .hy-watch-ready .hy-secure-note{font-size:10px}
 .hy-watch-ready.hy-secure-compact{padding:12px;gap:10px}
 .hy-watch-ready.hy-secure-compact .hy-secure-mark{width:48px;height:48px;flex-basis:48px}
 .hy-watch-ready.hy-secure-compact .hy-watch-eye{inset:14px 6px}
 .hy-watch-ready.hy-secure-compact .hy-secure-title{font-size:16px}
 .hy-watch-ready.hy-secure-compact .hy-secure-note{font-size:9px}
 .hy-watch-encounter{right:12px;bottom:96px;width:calc(100vw - 24px);grid-template-columns:80px minmax(0,1fr)}
 .hy-watch-encounter img{width:80px}
 .hy-watch-encounter-copy{padding:15px 29px 14px 13px}
 .hy-watch-encounter-name{font-size:18px}
 .hy-watch-encounter-text{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 html:not(.motion-enabled) .hy-watch-ready,html:not(.motion-enabled) .hy-watch-ready::before,
 html:not(.motion-enabled) .hy-watch-ready::after,
 html:not(.motion-enabled) .hy-watch-ready .hy-secure-mark::before,
 html:not(.motion-enabled) .hy-watch-ready .hy-secure-mark::after,
 html:not(.motion-enabled) .hy-watch-lid,html:not(.motion-enabled) .hy-watch-dots i,
 html:not(.motion-enabled) .hy-watch-encounter,html:not(.motion-enabled) .hy-watch-encounter::before
 {animation:none!important;transition:none!important}
}
html.motion-paused .hy-watch-ready,html.motion-paused .hy-watch-ready::before,
html.motion-paused .hy-watch-ready::after,
html.motion-paused .hy-watch-ready .hy-secure-mark::before,
html.motion-paused .hy-watch-ready .hy-secure-mark::after,
html.motion-paused .hy-watch-lid,html.motion-paused .hy-watch-dots i,
html.motion-paused .hy-watch-encounter,html.motion-paused .hy-watch-encounter::before
{animation-play-state:paused!important;transition:none!important}
