.kontagion-auth-dialog{--auth-gold: var(--nebula-gold, #ff8000);--auth-line: rgba(255, 255, 255, .12);display:grid!important;width:min(520px,calc(100vw - 32px))!important;max-width:520px!important;max-height:calc(100dvh - 32px);grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0!important;overflow:hidden;padding:0!important;border:1px solid var(--auth-line)!important;border-radius:20px!important;color:#f5f5f3;font-family:var(--nebula-font-sans, "Kontagion Inter", Arial, sans-serif);background:var(--nebula-background, #0c0c0e)!important;box-shadow:0 24px 80px #00000047!important;isolation:isolate}.kontagion-auth-dialog>button,.kontagion-auth-back{position:absolute;top:12px;z-index:20;display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:10px;color:#aaa;background:transparent;opacity:1;cursor:pointer}.kontagion-auth-dialog>button{right:12px}.kontagion-auth-back{left:12px}.kontagion-auth-dialog>button:hover,.kontagion-auth-back:hover{color:#f5f5f3;background:#ffffff0f}.kontagion-auth-dialog>button svg,.kontagion-auth-back svg{width:18px;height:18px}.kontagion-auth-panel{position:relative;min-width:0;min-height:0;overflow:hidden auto;scrollbar-color:rgba(255,255,255,.22) transparent;scrollbar-width:thin}.kontagion-auth-panel-inner{display:flex;flex-direction:column;padding:44px 40px 32px}.kontagion-auth-brand{display:flex;align-items:center;justify-content:center;gap:10px;min-height:32px;color:#f5f5f3;text-decoration:none}.kontagion-auth-brand-name{font-family:var(--nebula-font-sans, "Kontagion Inter", Arial, sans-serif);font-size:var(--nebula-wordmark-size, 23px);font-weight:var(--nebula-wordmark-weight, 750);letter-spacing:-.055em;line-height:1.1}.kontagion-auth-brand-mark{width:24px;height:24px;color:var(--auth-gold);stroke-width:2}.kontagion-auth-heading{margin:32px 0 28px;text-align:center}.kontagion-auth-heading h2{color:#f5f5f3;font-size:28px;font-weight:600;line-height:1.15;letter-spacing:-.035em}.kontagion-auth-heading p{max-width:42ch;margin:9px auto 0;color:#a3a3a3;font-size:12px;line-height:1.55}.kontagion-auth-notice{display:grid;gap:4px;margin:-6px 0 15px;padding:11px 13px;border:1px solid rgba(255,191,94,.22);border-radius:14px;color:#ffffffbf;background:color-mix(in oklch,var(--nebula-gold) 5.5%,transparent);font-size:12px;line-height:1.45}.kontagion-auth-notice.is-success{border-color:#66d3a333;background:#66d3a30d}.kontagion-auth-notice strong{color:var(--auth-gold);font-size:9px;letter-spacing:.2em}.kontagion-auth-notice.is-success strong{color:#81ddb5}.kontagion-auth-notice button{display:inline-flex;width:max-content;align-items:center;gap:6px;margin-top:4px;padding:0;border:0;border-radius:8px;color:var(--auth-gold);background:transparent;font-size:11px;cursor:pointer}.kontagion-auth-notice button svg{width:12px;height:12px}.kontagion-auth-providers{display:grid;gap:10px}.kontagion-auth-provider{position:relative;display:grid!important;width:100%;height:48px!important;grid-template-columns:24px 1fr 24px;align-items:center;justify-content:stretch!important;padding:0 17px!important;border:1px solid rgba(255,255,255,.105)!important;border-radius:14px!important;color:#ffffffe0!important;background:#1b1b1e!important;box-shadow:inset 0 1px #ffffff09,0 9px 28px #00000024;font-size:14px!important;font-weight:500!important}.kontagion-auth-provider:hover{border-color:#ffffff47!important;background:#242426!important}.kontagion-auth-provider svg{width:17px;height:17px}.kontagion-auth-provider span{grid-column:2;text-align:center}.kontagion-auth-separator{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:26px 0 15px}.kontagion-auth-separator span{height:1px;background:#ffffff14}.kontagion-auth-separator small{color:#ffffff57;font-size:9px;font-weight:600;letter-spacing:.16em}.kontagion-auth-form{display:grid;gap:13px}.kontagion-auth-field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kontagion-auth-field{min-width:0}.kontagion-auth-field label,.kontagion-auth-label-row :is(a,button){color:#f5f5f38f;font-size:11px;font-weight:500;letter-spacing:.01em;text-transform:none}.kontagion-auth-label-row{display:flex;align-items:baseline;justify-content:space-between}.kontagion-auth-label-row :is(a,button){padding:0;border:0;color:var(--auth-gold);background:transparent;text-decoration:none;cursor:pointer}.kontagion-auth-field input{width:100%;height:47px;transition:border-color .14s ease,box-shadow .14s ease;margin-top:6px;padding:0 14px;border:1px solid rgba(255,255,255,.13);border-radius:13px;color:#ffffffeb;background:#0b0b0e;box-shadow:inset 0 1px #ffffff06;font-size:14px}.kontagion-auth-field input::placeholder{color:#ffffff47}.kontagion-auth-field input:hover{border-color:#fff3}.kontagion-auth-field input:focus{border-color:var(--auth-gold);outline:none;box-shadow:0 0 0 3px #ff800024,inset 0 1px #ffffff09}.kontagion-auth-checks{display:grid;gap:7px;margin-top:1px}.kontagion-auth-checks label{display:flex;align-items:flex-start;gap:8px;color:#f5f5f3a6;font-size:10.5px;line-height:1.4;cursor:pointer}.kontagion-auth-checks input{width:14px;height:14px;flex:0 0 auto;margin-top:1px;border-radius:4px;accent-color:var(--auth-gold)}.kontagion-auth-checks a,.kontagion-auth-legal a{color:#f5f5f3cc;text-decoration:underline;text-underline-offset:3px}.kontagion-auth-submit{width:100%;height:49px!important;margin-top:1px;border:1px solid transparent!important;border-radius:14px!important;color:#160e03!important;background:var(--auth-gold)!important;box-shadow:0 14px 34px color-mix(in oklch,var(--nebula-gold) 16%,transparent),inset 0 1px #ffffff57;font-size:14px!important;font-weight:600!important}.kontagion-auth-submit:hover{filter:brightness(1.06)}.kontagion-auth-submit:disabled,.kontagion-auth-provider:disabled{cursor:not-allowed;filter:grayscale(.35);opacity:.55}.kontagion-auth-submit svg{width:16px;height:16px}.kontagion-auth-field-error{margin:-3px 2px 0;color:#f08d91;font-size:11px;line-height:1.45}.kontagion-auth-recovery-sent{display:grid;justify-items:center;gap:12px;text-align:center}.kontagion-auth-recovery-icon{display:grid;width:50px;height:50px;place-items:center;margin-bottom:4px;border:1px solid color-mix(in oklch,var(--nebula-gold) 30%,transparent);border-radius:999px;color:var(--auth-gold);background:color-mix(in oklch,var(--nebula-gold) 6%,transparent)}.kontagion-auth-recovery-icon svg{width:20px;height:20px}.kontagion-auth-recovery-sent>strong{color:#fff;font-size:20px;font-weight:600;letter-spacing:-.025em}.kontagion-auth-recovery-sent>p:not(.kontagion-auth-switch){max-width:40ch;color:#f5f5f385;font-size:12px;line-height:1.6}.kontagion-auth-recovery-sent>p b{color:#ffffffdb;font-weight:600}.kontagion-auth-recovery-sent .kontagion-auth-provider{margin-top:8px}.kontagion-auth-legal{max-width:42ch;margin:14px auto 0;color:#f5f5f399;font-size:10.5px;line-height:1.55;text-align:center}.kontagion-auth-switch{margin-top:12px;color:#f5f5f3a6;font-size:12px;text-align:center}.kontagion-auth-switch button{padding:2px 3px;border:0;border-radius:7px;color:var(--auth-gold);background:transparent;cursor:pointer}.kontagion-auth-switch button:hover{background:#ff800014}.kontagion-auth-help{align-self:center;margin:20px 0 0;font-size:12px;color:var(--nebula-muted, #a3a3a3)}.kontagion-auth-switch a{color:var(--auth-gold)}.kontagion-auth-dialog :is(button,a):focus-visible{outline:2px solid var(--auth-gold);outline-offset:3px}.kontagion-auth-route{position:fixed;inset:0;background:var(--nebula-background, #0c0c0e)}@media(max-width:520px){.kontagion-auth-dialog{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px);border-radius:16px!important}.kontagion-auth-panel-inner{padding:64px 24px 24px}.kontagion-auth-field-row{grid-template-columns:1fr}.kontagion-auth-field input{font-size:16px}.kontagion-auth-heading h2{font-size:26px}}@media(prefers-reduced-motion:reduce){.kontagion-auth-dialog,.kontagion-auth-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}body:has([data-testid=auth-invite-recovery],[data-testid=auth-invite-checking]) [data-testid=login-boot-fallback]{display:none}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-dialog{--auth-line: var(--nebula-border);color:var(--nebula-foreground);background:var(--nebula-background)!important;box-shadow:var(--k-shadow-dialog)!important}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) :is(.kontagion-auth-brand,.kontagion-auth-heading h2,.kontagion-auth-recovery-sent>strong){color:var(--nebula-foreground)}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) :is(.kontagion-auth-dialog>button,.kontagion-auth-back,.kontagion-auth-heading p,.kontagion-auth-separator small,.kontagion-auth-field label,.kontagion-auth-checks label,.kontagion-auth-recovery-sent>p:not(.kontagion-auth-switch),.kontagion-auth-legal,.kontagion-auth-switch){color:var(--nebula-muted)}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) :is(.kontagion-auth-dialog>button:hover,.kontagion-auth-back:hover){color:var(--nebula-foreground);background:color-mix(in srgb,var(--nebula-foreground) 6%,transparent)}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-notice{color:var(--nebula-foreground);border-color:color-mix(in srgb,var(--nebula-gold) 30%,transparent)}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-provider{color:var(--nebula-foreground)!important;border-color:var(--nebula-border)!important;background:var(--nebula-raised)!important;box-shadow:none}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-provider:hover{border-color:var(--nebula-ring)!important;background:color-mix(in srgb,var(--nebula-foreground) 10%,var(--nebula-raised))!important}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-separator span{background:var(--nebula-border)}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-field input{color:var(--nebula-foreground);border-color:var(--nebula-border);background:var(--nebula-surface);box-shadow:none}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-field input::placeholder{color:var(--nebula-muted)}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-field input:is(:hover,:focus){border-color:var(--nebula-gold)}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-field input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--nebula-gold) 16%,transparent)}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-submit{color:var(--nebula-on-accent)!important;box-shadow:none}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) :is(.kontagion-auth-checks a,.kontagion-auth-legal a,.kontagion-auth-recovery-sent>p b){color:var(--nebula-foreground)}html:is([data-ui-theme=serene],[data-ui-theme=white]):not(.festival-account) .kontagion-auth-switch button:hover{background:color-mix(in srgb,var(--nebula-gold) 8%,transparent)}html[data-ui-theme=white]:not(.festival-account) .kontagion-auth-dialog{color-scheme:light}html[data-ui-theme=white]:not(.festival-account) .kontagion-auth-notice.is-success strong{color:#176d4d}
