html.account-pending body>*{visibility:hidden!important}
html.account-pending #accountGate,html.account-pending #accountGate *{visibility:visible!important}
#accountGate{position:fixed;inset:0;z-index:200;background:#111e2b;color:#f8ecd4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:2rem;text-align:center;font:1rem/1.6 system-ui,sans-serif}
#accountGate h2{font-size:1.6rem;color:#e8c580}#accountGate p{max-width:42rem}
#accountGate button,#accountBanner button{min-height:44px;padding:.5rem .8rem;border:1px solid #b59b64;background:#253645;color:#f8ecd4;border-radius:.4rem;font:inherit;cursor:pointer}
#accountGate dialog{max-width:min(90vw,500px);background:#172936;color:#f8ecd4;border:1px solid #b59b64;border-radius:.5rem;padding:1.5rem}#accountGate dialog::backdrop{background:#000a}#accountGate dialog button{margin:.4rem}
#accountBanner{display:none!important}
#headerAccountSlot button{cursor:pointer}
html.light #headerAccountSlot > div{background:#ffffff!important;border-color:#e4d8c5!important;box-shadow:0 1px 3px rgba(0,0,0,0.04)!important}
html.light #headerAccountSlot button{background:#f5efe6!important;border-color:#d8cca8!important;color:#475569!important}
html.light #headerAccountSlot button:hover{background:#fee2e2!important;border-color:#fca5a5!important;color:#b91c1c!important}
html.light #headerAccountSlot .text-slate-200{color:#0f172a!important}
#accountGate button:focus-visible,#accountBanner button:focus-visible{outline:2px solid #8ed8b1;outline-offset:3px}

html.account-pending:has(#accountGate.hsk-loading-gate) body > :not(#accountGate) {
    visibility: visible !important;
    pointer-events: none;
    interactivity: inert;
}
html.light #accountGate:not(.hsk-loading-gate){background:#f8f6f0;color:#0f172a}
html.light #accountGate:not(.hsk-loading-gate) h2{color:#b45309}
html.light #accountGate:not(.hsk-loading-gate) button{border-color:#d97706;background:#ffffff;color:#0f172a}
html.light #accountGate:not(.hsk-loading-gate) dialog{background:#ffffff;color:#0f172a;border-color:#d97706}
#accountGate.hsk-loading-gate { background: transparent; z-index: 10020; }
.hsk-loading {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: grid;
    place-items: center;
    padding: 1rem;
    pointer-events: none;
    background: rgb(5 12 28 / 48%);
    backdrop-filter: blur(3px);
}
html.light .hsk-loading {
    background: rgb(248 246 240 / 74%);
}
.hsk-loading-mascot {
    display: block;
    width: min(45rem, 100%, 115dvh);
    height: auto;
    animation: hsk-reading-fly 2.8s ease-in-out infinite;
}
.hsk-loading-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.hsk-loading-inline {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
}
.hsk-loading-inline .hsk-loading-mascot { width: 2.5rem; }
.hsk-loading-inline .hsk-loading-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
}
@keyframes hsk-reading-fly {
    0%, 100% { transform: translate(-3px, 0) rotate(-1deg); }
    50% { transform: translate(4px, -9px) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
    .hsk-loading-mascot { animation: none; }
}

body.hsk-admin-v2-open #hskUserBugBtn,
body.hsk-admin-v2-open #hskRightQuickDock,
body:has(#hskAdminModal:not(.hidden)) #hskUserBugBtn,
body:has(#hskAdminModal:not(.hidden)) #hskRightQuickDock {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

