
  @import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

  .aovtool-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 9px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5b21b6 0%, #3b0764 60%, #1e0542 100%);
    border: 1px solid rgba(216, 180, 254, 0.4);
    box-shadow: 0 4px 16px rgba(91, 33, 182, 0.45);
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
  }

  .aovtool-logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: radial-gradient(circle at 30% 25%, #6d28d9 0%, #2e1065 80%);
    border: 1.5px solid rgba(240, 171, 252, 0.8);
    box-shadow: 0 0 12px rgba(216, 180, 254, 0.5), inset 0 0 8px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
  }

  .aovtool-logo-icon::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.7) 60deg, rgba(232, 121, 249, 0.65) 140deg, transparent 210deg);
    animation: aovtoolSpin 3.6s linear infinite;
  }

  .aovtool-logo-icon::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 8px;
    background: radial-gradient(circle at 50% 50%, rgba(76, 29, 149, 0.94), rgba(30, 5, 66, 0.98));
  }

  .aovtool-logo-shuriken {
    position: relative;
    z-index: 2;
    animation: aovtoolSpin 7s linear infinite;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.85));
  }

  .aovtool-logo:hover .aovtool-logo-shuriken {
    animation-duration: 1.4s;
  }

  .aovtool-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .aovtool-logo-row {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .aovtool-logo-name {
    font-family: 'Michroma', system-ui, sans-serif;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
    white-space: nowrap;
    background-image: linear-gradient(
      110deg,
      #ffffff 0%,
      #f5d0fe 24%,
      #ffffff 46%,
      #e879f9 50%,
      #ffffff 54%,
      #f3e8ff 78%,
      #ffffff 100%
    );
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: aovtoolTextSweep 3.4s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
  }

  .aovtool-logo-bars {
    display: flex;
    gap: 2px;
  }

  .aovtool-logo-bars span {
    width: 3px;
    height: 12px;
    border-radius: 2px;
  }
  .aovtool-logo-bars span:nth-child(1) {
    background: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    animation: aovtoolPulse 1.5s ease-in-out infinite;
  }
  .aovtool-logo-bars span:nth-child(2) {
    background: #e879f9;
    box-shadow: 0 0 6px rgba(232, 121, 249, 0.8);
    animation: aovtoolPulse 1.5s ease-in-out 0.25s infinite;
  }
  .aovtool-logo-bars span:nth-child(3) {
    background: #a855f7;
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.8);
    animation: aovtoolPulse 1.5s ease-in-out 0.5s infinite;
  }

  .aovtool-logo-sub {
    font-size: 11px;
    font-weight: 600;
    color: rgba(243, 232, 255, 0.9);
    margin-top: 1px;
    white-space: nowrap;
  }

  @media (max-width: 640px) {
    .aovtool-logo {
      gap: 7px;
      padding: 5px 10px 5px 6px;
    }
    .aovtool-logo-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
    }
    .aovtool-logo-shuriken {
      width: 19px;
      height: 19px;
    }
    .aovtool-logo-name {
      font-size: 13.5px;
    }
    .aovtool-logo-bars span {
      width: 2.5px;
      height: 10px;
    }
    .aovtool-logo-sub {
      display: none;
    }
  }

  @keyframes aovtoolSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  @keyframes aovtoolTextSweep {
    0% { background-position: 120% 50%; }
    100% { background-position: -140% 50%; }
  }
  @keyframes aovtoolPulse {
    0%, 100% { transform: scaleY(0.72); opacity: 0.65; }
    50% { transform: scaleY(1.18); opacity: 1; }
  }

/* Keep the supplied logo at the screen's upper left without covering controls. */
.site-header .header-inner, .site-header .header-content { width: calc(100% - 32px); margin-inline: auto; }
@media (min-width: 851px) {
 body:has(.side-nav) > .site-header { grid-column: 1 / -1; }
 body:has(.side-nav) > .side-nav { grid-row: 2 / span 2; top: 69px; height: calc(100dvh - 69px); }
}
@media (max-width: 480px) {
 .header-inner .aovtool-logo { gap: 5px; padding: 5px; }
 .header-inner .aovtool-logo-icon { width: 27px; height: 27px; }
 .header-inner .aovtool-logo-name { font-size: 10px; letter-spacing: 0; }
 .header-inner .aovtool-logo-bars { display: none; }
 .site-header .header-inner { width: calc(100% - 20px); gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
 .aovtool-logo *, .aovtool-logo-icon::before { animation: none !important; }
}
