/* 0XCON always-on mascot: CSS-only, uses the existing official transparent asset.
   No animation toggle or network dependency; no claim of a live service state.
   Keep the halo moving while the artwork makes a subtle 3D-style turntable motion.
   A true 360-degree volumetric turn requires an approved 3D model asset. */
.public-hero__aside .ox-mascot-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(100%, 370px);
  aspect-ratio: 1;
  margin: 2px auto 12px;
  perspective: 950px;
  overflow: visible;
  --ox-neon: #47f5e0;
}
.ox-mascot-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 31, 45, .25) 0 39%, rgba(40, 218, 247, .11) 59%, transparent 73%);
  filter: blur(15px);
  animation: ox-neon-breathe 5.7s ease-in-out infinite alternate;
}
.ox-mascot-ring,
.ox-mascot-orbit {
  position: absolute;
  z-index: 0;
  inset: 7%;
  border-radius: 50%;
  pointer-events: none;
}
.ox-mascot-ring--outer {
  padding: 4px;
  background: conic-gradient(from 10deg, #3cf5d9, #37d8ff 19%, #5c74ff 35%, #d954ff 54%, #fe82b4 72%, #faca55 84%, #3cf5d9);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  filter: drop-shadow(0 0 12px var(--ox-neon));
  animation: ox-ring-spin 18s linear infinite, ox-neon-shift 9.7s steps(7, end) infinite;
}
.ox-mascot-ring--inner {
  inset: 13%;
  border: 1px solid rgba(144, 229, 255, .5);
  box-shadow: 0 0 18px rgba(33, 200, 255, .35), inset 0 0 15px rgba(104, 83, 249, .22);
  transform: rotateX(68deg);
  animation: ox-orbit-rock 7.3s ease-in-out infinite alternate, ox-neon-shift 13s linear infinite;
}
.ox-mascot-orbit {
  inset: 4%;
  border: 2px dashed rgba(103, 216, 251, .28);
  transform: rotateX(72deg);
  animation: ox-ring-reverse 24s linear infinite;
}
.ox-mascot-turntable {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 85%;
  height: 85%;
  transform-style: preserve-3d;
  animation: ox-cat-turn 8.5s ease-in-out infinite;
  will-change: transform;
}
.public-hero__aside .ox-mascot-stage .public-hero__mascot {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  backface-visibility: hidden;
  filter: drop-shadow(0 18px 17px rgba(0, 0, 0, .32)) drop-shadow(0 0 12px rgba(60, 213, 255, .16));
}
/* Restore the original metallic image asset in the position of the removed type.
   It shares the existing mascot turntable; ring and orbit animations are untouched. */
.ox-mascot-turntable .public-hero__wordmark {
  position: absolute;
  z-index: 3;
  display: block;
  left: 50%;
  top: 66%;
  width: 78%;
  height: auto;
  max-height: 24%;
  object-fit: contain;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
}
.ox-mascot-floor {
  position: absolute;
  z-index: 1;
  width: 67%;
  height: 12%;
  left: 16.5%;
  bottom: 3%;
  border-radius: 50%;
  border: 2px solid rgba(60, 225, 241, .62);
  box-shadow: 0 0 22px rgba(60, 225, 241, .42), inset 0 0 18px rgba(83, 113, 255, .34);
  transform: rotateX(69deg);
  animation: ox-neon-shift 11s steps(6, end) infinite;
}
@keyframes ox-ring-spin { to { transform: rotate(360deg); } }
@keyframes ox-ring-reverse { to { transform: rotateX(72deg) rotate(360deg); } }
@keyframes ox-orbit-rock { to { transform: rotateX(64deg) rotateZ(25deg); } }
@keyframes ox-cat-turn {
  0%, 100% { transform: translateY(0) rotateY(-15deg) rotateZ(-1deg); }
  25% { transform: translateY(-9px) rotateY(3deg) rotateZ(0); }
  50% { transform: translateY(-5px) rotateY(15deg) rotateZ(1deg); }
  75% { transform: translateY(-11px) rotateY(-2deg) rotateZ(0); }
}
@keyframes ox-neon-shift {
  0% { filter: hue-rotate(0deg) drop-shadow(0 0 11px #26ebff); }
  17% { filter: hue-rotate(50deg) drop-shadow(0 0 15px #6677ff); }
  36% { filter: hue-rotate(116deg) drop-shadow(0 0 12px #c44fff); }
  52% { filter: hue-rotate(214deg) drop-shadow(0 0 16px #f366d5); }
  77% { filter: hue-rotate(290deg) drop-shadow(0 0 13px #f9c866); }
  100% { filter: hue-rotate(360deg) drop-shadow(0 0 11px #26ebff); }
}
@keyframes ox-neon-breathe { to { opacity: .55; transform: scale(1.05); } }
@media (max-width: 800px) {
  .public-hero__aside .ox-mascot-stage { width: min(74vw, 290px); margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .ox-mascot-stage::before,
  .ox-mascot-ring, .ox-mascot-orbit, .ox-mascot-turntable, .ox-mascot-floor { animation: none !important; }
  .ox-mascot-turntable { transform: none; }
}
/* Light appearance retains the existing clean white theme around the mascot. */
html[data-appearance="light"] .ox-mascot-stage::before { opacity: .2; }


/* Additive holographic data grid: independent layers run in opposite directions.
   Official mascot, wordmark, their turntable and original animations are unchanged. */
.ox-mascot-stage::after {
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  inset:1%;
  border-radius:50%;
  background:
    repeating-conic-gradient(from 0deg, transparent 0deg 13deg, rgba(62,241,234,.65) 13.3deg 13.9deg, transparent 14.2deg 24deg),
    conic-gradient(from 45deg, transparent 0 14%, rgba(46,242,221,.82) 15% 18%, transparent 19% 37%, rgba(102,104,255,.8) 39% 42%, transparent 43% 67%, rgba(255,73,187,.85) 69% 72%, transparent 73%);
  -webkit-mask:radial-gradient(farthest-side,transparent 79%,#000 81%,#000 84%,transparent 86%);
  mask:radial-gradient(farthest-side,transparent 79%,#000 81%,#000 84%,transparent 86%);
  filter:drop-shadow(0 0 7px #26ebff);
  animation:ox-grid-clockwise 11s linear infinite;
}
.ox-mascot-ring--inner::after {
  content:"";
  position:absolute;
  inset:-18%;
  border-radius:50%;
  background:repeating-conic-gradient(from 80deg,rgba(60,239,255,.7) 0deg 1.3deg,transparent 2deg 18deg);
  -webkit-mask:radial-gradient(farthest-side,transparent 88%,#000 90%,#000 92%,transparent 94%);
  mask:radial-gradient(farthest-side,transparent 88%,#000 90%,#000 92%,transparent 94%);
  animation:ox-grid-counter 7s linear infinite;
}
.ox-mascot-orbit::after {
  content:"";
  position:absolute;
  inset:18%;
  border-radius:50%;
  border:2px dashed rgba(57,238,249,.7);
  box-shadow:0 0 12px rgba(41,222,242,.28);
  animation:ox-grid-clockwise 6s linear infinite;
}
.ox-mascot-floor::after {
  content:"";
  position:absolute;
  inset:-35% -12%;
  border-radius:50%;
  background:
    repeating-linear-gradient(90deg,transparent 0 17px,rgba(34,232,239,.3) 18px 19px,transparent 20px 37px),
    repeating-linear-gradient(0deg,transparent 0 16px,rgba(59,255,161,.23) 17px 18px,transparent 19px 35px);
  -webkit-mask:radial-gradient(ellipse,transparent 0 25%,#000 62%,transparent 74%);
  mask:radial-gradient(ellipse,transparent 0 25%,#000 62%,transparent 74%);
  animation:ox-grid-counter 16s linear infinite;
}
@keyframes ox-grid-clockwise {to{transform:rotate(360deg)}}
@keyframes ox-grid-counter {to{transform:rotate(-360deg)}}

@media (prefers-reduced-motion:reduce){
  .ox-mascot-stage::after,.ox-mascot-ring--inner::after,
  .ox-mascot-orbit::after,.ox-mascot-floor::after{animation:none!important}
}

/* Performance (lab INP trace, 2026-11-20): animating hue-rotate plus drop-shadow on the four large, masked grid layers made every
   frame cost about 250 ms to draw in software-composited Chromium, so the search dialog painted about 870 ms after the click.
   The grid layers keep their rotation and their own multi-colour gradients; the colour cycle that was animated on them is gone.
   While a dialog is open the page behind it is covered, so the mascot motion pauses. */
body:has(dialog[open]) .ox-mascot-stage,
body:has(dialog[open]) .ox-mascot-stage *,
body:has(dialog[open]) .ox-mascot-stage::before,
body:has(dialog[open]) .ox-mascot-stage::after,
body:has(dialog[open]) .ox-mascot-stage *::after { animation-play-state: paused !important; }
