/* Independent decorative layer, below the existing login panel. */
.signin-visitor { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.signin-visitor[hidden], .signin-visitor-dialogue[hidden] { display: none; }
.signin-visitor canvas { display: block; width: auto; height: auto; image-rendering: pixelated; pointer-events: none; }
.signin-visitor-dialogue { position: absolute; padding: 10px 12px; border: 2px solid #bcaa7c; background: #15172ef2; color: #f4dfa0; font: bold 14px/1.4 monospace; text-align: center; white-space: normal; overflow-wrap: break-word; box-shadow: 3px 3px 0 #090b2380; min-height: 42px; }
.signin-visitor-dialogue:after { content: ''; position: absolute; bottom: -8px; left: var(--bubble-tail-x, 50%); width: 10px; height: 10px; border-right: 2px solid #bcaa7c; border-bottom: 2px solid #bcaa7c; background: #15172e; transform: rotate(45deg); }
.signin-visitor-debug { position: fixed; z-index: 3; left: 12px; top: 12px; border: 1px solid #bcaa7c; padding: 6px 10px; background: #15172e; color: #f4dfa0; font: 12px monospace; cursor: pointer; }
@media (max-width: 767px), (prefers-reduced-motion: reduce) { .signin-visitor, .signin-visitor-debug { display: none !important; } }
.signin-visitor canvas { position: absolute; left: 0; top: 0; z-index: 1; will-change: transform; }
.signin-visitor-dialogue { z-index: 2; }
.signin-visitor-rope { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.signin-visitor-rope path { fill: none; stroke-linecap: round; }
.signin-visitor-rope path:first-child { stroke: #171628; }
.signin-visitor-rope path:last-child { stroke: #9d8354; }
.signin-visitor-debug { display: flex; align-items: center; gap: 8px; }
.signin-visitor-debug button, .signin-visitor-debug select { font: inherit; color: inherit; background: #15172e; border: 1px solid #bcaa7c; padding: 4px 6px; }
.signin-visitor-hit { position: fixed; z-index: 3; display: block; padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer; touch-action: manipulation; }
.signin-visitor-hit[hidden] { display: none; }
.signin-visitor-hit:focus-visible { outline: 2px dashed #f37766; outline-offset: 3px; border-radius: 4px; }
.signin-visitor-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.signin-visitor-dialogue--angry { background: #37121df5; border-color: #f37766; color: #fff0df; box-shadow: 4px 4px 0 #160910; text-transform: uppercase; transform: rotate(-1deg); }
.signin-visitor-dialogue--angry:before { content: '!!!'; display: block; color: #ff8875; font-size: 20px; line-height: 1; margin-bottom: 6px; letter-spacing: 4px; }
.signin-visitor-dialogue--angry:after { background: #37121d; border-color: #f37766; }
@media (max-width: 767px), (prefers-reduced-motion: reduce) { .signin-visitor-hit { display: none !important; } }

.signin-visitor-shadow { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse closest-side,rgba(3,5,14,.34),rgba(3,5,14,.2) 45%,rgba(3,5,14,0)); }
