/* vividsites · chrome-logo — https://vividsites.app/c/chrome-logo (rules unedited; tune via variables) */
.vs-chrome-logo {
    --vs-chrome-logo-light: #5cc8ff;
    --vs-chrome-logo-bg: #111214;
    --vs-chrome-logo-idle: .4;
    --vs-chrome-logo-height: 100svh;
    position: relative; width: 100%; height: var(--vs-chrome-logo-height); min-height: 420px; overflow: hidden; isolation: isolate;
    background:
      radial-gradient(50% 42% at 50% 44%, color-mix(in srgb, var(--vs-chrome-logo-light) 7%, transparent), transparent 72%),
      linear-gradient(to bottom, var(--vs-chrome-logo-bg) 62%, color-mix(in srgb, var(--vs-chrome-logo-bg) 80%, #000) 100%);
    cursor: grab; touch-action: pan-y; outline: none; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
    transition: background .8s cubic-bezier(.16,1,.3,1);
  }
  .vs-chrome-logo.is-dragging { cursor: grabbing; }
  .vs-chrome-logo:focus-visible { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--vs-chrome-logo-light) 70%, transparent); }
  .vs-chrome-logo-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transform: scale(1.03); transition: opacity 1.2s cubic-bezier(.16,1,.3,1), transform 2.4s cubic-bezier(.16,1,.3,1); }
  .vs-chrome-logo[data-vs-state="ready"] .vs-chrome-logo-canvas { opacity: 1; transform: none; }
  /* the source SVG: hidden once the metal is up; a brushed-metal fallback without WebGL */
  .vs-chrome-logo-mark { position: absolute; left: 50%; top: 46%; width: min(56%, 56vh); height: auto; transform: translate(-50%, -50%); visibility: hidden; }
  .vs-chrome-logo[data-vs-state="nogl"] .vs-chrome-logo-mark { visibility: visible; fill: #c9ced6; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
  .vs-chrome-logo::after { /* vignette + a whisper of grain */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(115% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.55)),
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }
