.clbg-auth-xp-entry{font:inherit!important;color:inherit!important;background:transparent!important;border:0!important;border-radius:4px;padding:2px!important;cursor:pointer;text-decoration:underline!important}.clbg-auth-xp-entry:focus-visible{outline:2px solid #168b69;outline-offset:3px}
.clbg-auth-popup-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 18px;background:#151b25;color:white!important;border-radius:99px;font:700 13px/1.5 Arial,sans-serif;text-decoration:none!important}.clbg-auth-popup-trigger:hover{background:#2b3b50}.clbg-auth-popup-trigger:focus-visible{outline:3px solid #20a57b;outline-offset:3px}

.clbg-test-locked{max-width:560px;margin:40px auto;padding:32px 24px;border:1px solid #dce7e2;border-radius:20px;background:white;text-align:center;font:14px/1.7 Arial,sans-serif;color:#40556b}.clbg-test-locked>span{font-size:30px}.clbg-test-locked h2{font-size:24px;line-height:1.3;color:#1d3044}.clbg-test-locked>div{display:flex;justify-content:center;gap:10px;margin-top:20px}.clbg-test-locked a{display:inline-block;padding:10px 20px;background:#142334;color:white!important;border-radius:99px;text-decoration:none!important}.clbg-test-locked button{margin-top:15px;padding:6px;border:0;background:transparent;color:#316a58;text-decoration:underline;cursor:pointer}


/* Invitation dialog. Keep the theme scoped to this component. */
html body dialog#clbgAuthPrompt {
    --auth-surface: #f9fdfb;
    --auth-highlight: #e1f7eb;
    --auth-ink: #112f28;
    --auth-muted: #416055;
    --auth-line: #c8e4d6;
    --auth-action: #095a43;
    --auth-hover: #074736;
    --auth-action-ink: #fff;
    --auth-focus: #087958;
    box-sizing: border-box;
    position: fixed !important;
    inset: 0 !important;
    width: min(450px, calc(100% - 28px));
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--auth-line);
    border-radius: 26px;
    background: radial-gradient(ellipse at 50% 0%, var(--auth-highlight), transparent 52%), var(--auth-surface) !important;
    color: var(--auth-ink) !important;
    box-shadow: 0 28px 76px #001c1659;
    font: 15px/1.5 system-ui, sans-serif;
    text-align: center;
}
html[data-clnav-theme="dark"] body dialog#clbgAuthPrompt {
    --auth-surface: #10251f;
    --auth-highlight: #1e4639;
    --auth-ink: #effcf5;
    --auth-muted: #b7d4c7;
    --auth-line: #366050;
    --auth-action: #a2f1ce;
    --auth-hover: #c4ffe5;
    --auth-action-ink: #10392c;
    --auth-focus: #a2f1ce;
}
html body dialog#clbgAuthPrompt:not([open]) { display: none !important; }
html body dialog#clbgAuthPrompt[open] { display: block !important; }
#clbgAuthPrompt::backdrop { background: #081c19a8; backdrop-filter: blur(4px); }
#clbgAuthPrompt .clbg-auth-dialog-body {
    position: relative;
    padding: 28px clamp(18px, 6vw, 38px) 22px;
}
#clbgAuthPrompt .clbg-auth-close {
    position: absolute; top: 11px; right: 11px;
    width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 50%;
    font: 26px/1 system-ui, sans-serif;
    color: var(--auth-ink) !important;
    background: transparent !important;
}
#clbgAuthPrompt .clbg-auth-close:hover { background: var(--auth-highlight) !important; }
#clbgAuthPrompt .clbg-auth-mark {
    display: grid; place-items: center;
    width: 58px; height: 58px; margin: 0 auto 9px;
    border-radius: 18px;
    color: #fff; background: linear-gradient(145deg, #1b715e, #10362e);
    box-shadow: 0 0 0 4px var(--auth-surface), 0 0 0 5px var(--auth-line);
}
#clbgAuthPrompt .clbg-auth-brand {
    display: block; margin-bottom: 10px;
    font-size: 12px; font-weight: 800; letter-spacing: .04em;
    color: var(--auth-muted);
}
#clbgAuthPrompt #clbgAuthTitle {
    max-width: 16ch; margin: 0 auto !important; padding: 0 !important;
    font: 800 clamp(23px, 6.2vw, 32px)/1.1 system-ui, sans-serif !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
    color: var(--auth-ink) !important;
}
#clbgAuthPrompt #clbgAuthDescription,
#clbgAuthPrompt .clbg-auth-footnote {
    margin: 10px auto 0 !important; padding: 0 !important;
    max-width: 31ch;
    color: var(--auth-muted) !important;
    font: 400 14px/1.5 system-ui, sans-serif !important;
}
#clbgAuthPrompt .clbg-auth-benefits {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 7px; margin: 15px 0 18px;
}
#clbgAuthPrompt .clbg-auth-benefits span {
    padding: 4px 9px;
    border: 1px solid var(--auth-line); border-radius: 999px;
    background: var(--auth-highlight); color: var(--auth-ink);
    font-weight: 650; font-size: 12px;
}
#clbgAuthPrompt :is(a, button) { box-sizing: border-box; cursor: pointer; }
#clbgAuthPrompt :is(.clbg-auth-create, .clbg-auth-login, .clbg-auth-later) {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    width: 100%; min-height: 44px; padding: 8px 12px;
    border-radius: 13px;
    font: 650 14px/1.4 system-ui, sans-serif !important;
    letter-spacing: normal !important;
    text-decoration: none !important; text-transform: none !important;
}
#clbgAuthPrompt .clbg-auth-create {
    min-height: 50px; gap: 12px;
    border: 1px solid transparent;
    color: var(--auth-action-ink) !important; background: var(--auth-action) !important;
}
#clbgAuthPrompt .clbg-auth-create:hover { background: var(--auth-hover) !important; }
#clbgAuthPrompt .clbg-auth-login {
    margin-top: 8px; border: 1px solid var(--auth-line);
    color: var(--auth-ink) !important; background: var(--auth-surface) !important;
}
#clbgAuthPrompt .clbg-auth-login:hover { background: var(--auth-highlight) !important; }
#clbgAuthPrompt .clbg-auth-later {
    margin: 3px 0 0; border: 0;
    background: transparent !important; color: var(--auth-muted) !important;
}
#clbgAuthPrompt .clbg-auth-later:hover { text-decoration: underline !important; }
#clbgAuthPrompt .clbg-auth-footnote { margin-top: 0 !important; font-size: 12px !important; }
#clbgAuthPrompt :is(a, button):focus-visible { outline: 3px solid var(--auth-focus); outline-offset: 2px; }
