html, body.static-error-page { margin: 0; padding: 0; height: 100%; }
.static-error-page { min-height: 100vh; background: #05030b; color: #e7fcff; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; overflow: hidden; }
.static-error-canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.static-error-home { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; color: inherit; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.static-error-home:focus-visible .static-error-card { outline: 2px solid #26d9e3; outline-offset: 6px; }
.static-error-card { display: grid; justify-items: center; gap: 10px; max-width: 420px; padding: 28px 32px; text-align: center; background: rgba(10, 6, 22, 0.62); border: 1px solid rgba(38, 217, 227, 0.35); border-radius: 18px; box-shadow: 0 0 40px rgba(38, 217, 227, 0.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .25s ease, border-color .25s ease; }
.static-error-home:hover .static-error-card { transform: translateY(-3px); border-color: rgba(38, 217, 227, 0.75); }
.static-error-code { font: 800 clamp(64px, 18vw, 112px)/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 6px; color: #fff; text-shadow: 3px 0 #ff2d75, -3px 0 #26d9e3; animation: static-error-glitch 3.2s infinite steps(1); }
.static-error-zero { display: inline-block; animation: static-error-blink 4s ease-in-out infinite; transform-origin: 50% 55%; }
.static-error-title { font-size: 20px; font-weight: 700; }
.static-error-tip { min-height: 1.5em; font-size: 14px; color: #a99bd6; }
.static-error-cta { margin-top: 6px; padding: 10px 22px; border: 1px solid #26d9e3; border-radius: 999px; font-size: 15px; font-weight: 600; color: #e7fcff; }
.static-error-hint { font-size: 12px; color: #6f6496; }
@keyframes static-error-glitch {
  0%, 92%, 100% { transform: none; text-shadow: 3px 0 #ff2d75, -3px 0 #26d9e3; }
  93% { transform: translate(-3px, 1px) skewX(-8deg); text-shadow: -4px 0 #ff2d75, 4px 0 #26d9e3; }
  95% { transform: translate(3px, -1px) skewX(6deg); }
  97% { transform: translate(-1px, 0); text-shadow: 2px 0 #ff2d75, -2px 0 #26d9e3; }
}
@keyframes static-error-blink { 0%, 44%, 52%, 100% { transform: scaleY(1); } 48% { transform: scaleY(0.08); } }
@media (prefers-reduced-motion: reduce) {
  .static-error-code, .static-error-zero { animation: none; }
  .static-error-hint { display: none; }
}
