/* Critixx entry: compact mobile form with the same spectrum as the rating stars. */
.auth-designed{position:relative;isolation:isolate;width:100%;max-width:460px;margin:28px auto;padding:26px 30px 24px;border:1px solid #26333e;border-radius:26px;background:linear-gradient(155deg,#15212b80,#0b121a80 45%,#101d2580);box-shadow:0 24px 80px #0003}
.auth-designed::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:radial-gradient(ellipse at 0 0,#c16cff0d,transparent 45%),radial-gradient(ellipse at 100% 0,#00c9c717,transparent 50%)}
.auth-designed .auth-heading{text-align:center}
.auth-designed .brand{display:block;width:min(100%,280px);height:auto;aspect-ratio:1600/669;margin:0 auto 8px;object-fit:contain;mix-blend-mode:screen}
.auth-spectrum{height:2px;width:76px;margin:0 auto 22px;background:var(--rainbow);border-radius:3px}
.auth-designed h1{font-size:26px;line-height:1.18;letter-spacing:-.8px;margin-bottom:10px;font-weight:750}
.auth-designed .auth-heading p{font-size:13px;color:#9cadbb;margin:0;line-height:1.55}
.auth-steps{display:flex;align-items:center;gap:12px;margin:22px 0 20px;font-size:11px;color:#7f929f}
.auth-steps span{display:flex;align-items:center;gap:7px;white-space:nowrap}.auth-steps b{font-size:10px;font-weight:600;border:1px solid #34434e;border-radius:50%;width:24px;height:24px;display:grid;place-items:center}
.auth-steps .current{color:#e5eff6}.auth-steps .current b{color:#7de5ec;border-color:#318e9a;background:#123039}.auth-steps i{height:1px;flex:1;background:linear-gradient(90deg,#3692a0,#293640)}
.auth-designed .auth-field{display:block;margin:15px 0 0;font-size:12px;font-weight:600;color:#c9d6e0}.auth-designed .auth-field>span:first-child{display:block;margin:0 0 7px 2px}
.auth-input{display:flex;align-items:center;position:relative;gap:10px;padding:0 13px;border:1px solid #34434f;border-radius:12px;background:linear-gradient(115deg,#1a242e,#131e27);box-shadow:inset 0 1px #ffffff04;transition:border-color .18s,box-shadow .18s}
.auth-input>svg{width:18px;height:18px;flex:0 0 18px;color:#8196a8}.auth-designed svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.auth-designed .auth-input input{min-width:0;min-height:50px;padding:12px 0;border:0;outline:none;box-shadow:none;background:transparent;font-size:16px;font-weight:400;color:#eef5f9;border-radius:0}.auth-input input::placeholder{color:#728594;font-size:13px}
.auth-input:focus-within{border-color:#56cfdb;box-shadow:0 0 0 3px #41c8d512;background:linear-gradient(115deg,#1d2d38,#15252e)}.auth-input:focus-within>svg{color:#6edbe6}
.auth-designed .auth-hint{display:block;font-size:11px;color:#8399a9;margin:6px 2px 0;line-height:1.45}
.auth-designed .auth-password-toggle{flex:0 0 36px;min-height:44px;padding:8px;border:0;background:none;color:#8da3b3;margin-right:-8px}.auth-password-toggle svg{width:20px;height:20px}.auth-password-toggle[aria-pressed=true]{color:#6edbe6}
.auth-designed .form-error:empty{display:none}.auth-designed .form-error{font-size:12px;min-height:0;padding:10px 12px;border-left:2px solid #ff934e;background:#ff934e0a;border-radius:4px;margin:14px 0 0}
.auth-designed .auth-submit{display:flex;align-items:center;justify-content:center;position:relative;min-height:52px;padding:13px 42px;margin-top:23px!important;border-radius:13px;background:linear-gradient(110deg,#d1e1ec,#bad1dd) padding-box,var(--rainbow) border-box;border:1px solid transparent;box-shadow:0 5px 22px #39b8d014;font-size:14px;font-weight:750;transition:filter .2s,transform .2s}
.auth-submit::after{content:"";position:absolute;bottom:-1px;left:18%;right:18%;height:2px;border-radius:2px;background:var(--rainbow)}.auth-submit svg{position:absolute;right:16px;width:19px;height:19px;color:#365c70}.auth-submit:hover{filter:brightness(1.07)}.auth-submit:active{transform:translateY(1px)}
.auth-designed .auth-switch{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;min-height:44px;margin:12px 0 0;padding:9px 0;background:none;border:0;font-size:12px;font-weight:400;color:#95a8b7}.auth-switch strong{font-weight:650;color:#7adce6}.auth-designed .auth-age{font-size:10px;text-align:center;color:#738998;margin:12px 0 0;border-top:1px solid #283640;padding-top:16px}
@media(max-width:520px){.auth-designed{max-width:440px;border:0;border-radius:0;box-shadow:none;background:none;margin:0 auto;padding:calc(15px + env(safe-area-inset-top)) 23px calc(20px + env(safe-area-inset-bottom))}.auth-designed::before{position:absolute;inset:0 -0px auto;height:420px;background:radial-gradient(ellipse at 90% 0,#18c6d214,transparent 60%),radial-gradient(ellipse at 0 10%,#b86ee80b,transparent 55%)}.auth-designed .brand{width:min(82%,280px);margin-bottom:6px}.auth-spectrum{margin-bottom:18px}.auth-designed h1{font-size:25px}.auth-steps{margin:20px 0 17px}.auth-designed .auth-field{margin-top:14px}}
@media(max-width:360px){.auth-designed{padding-left:18px;padding-right:18px}.auth-designed h1{font-size:23px}.auth-designed .auth-heading p{font-size:12px}}

/* Black canvas, with the Critixx spectrum outlining the fields. */
html:has(.auth-designed),body:has(.auth-designed){background:#000}
body:has(.auth-designed) #app{min-height:100dvh;background:#000}
.auth-designed{background:#000;border-color:transparent;box-shadow:none}
.auth-designed::before{display:none}
.auth-designed .auth-input{border:1px solid transparent;background:linear-gradient(#090b0e,#090b0e) padding-box,linear-gradient(110deg,#684c40,#53445f 28%,#4b4c70 52%,#365965 78%,#345e50) border-box;box-shadow:none}
.auth-designed .auth-input:focus-within{border-color:transparent;background:linear-gradient(#101217,#101217) padding-box,linear-gradient(110deg,#a07057,#86679e 40%,#4895a8 75%,#459b80) border-box;box-shadow:0 0 0 2px #75b9c00d}
.auth-designed .auth-input>svg{color:#a4bdd0}
.auth-designed .auth-input:focus-within>svg{color:#72e3ed}
.auth-designed .auth-steps .current b{border:1px solid transparent;background:linear-gradient(#090b0e,#090b0e) padding-box,var(--rainbow) border-box}
.auth-designed .auth-submit{background:linear-gradient(#12151b,#12151b) padding-box,var(--rainbow) border-box;color:#f0f6fa;box-shadow:none}
.auth-designed .auth-submit svg{color:#75dce8}

/* Keep the first screen useful even on smaller phones. */
.auth-designed{margin:12px auto;padding:16px 26px 18px}
.auth-designed .brand{width:min(82%,260px);margin-bottom:0}
.auth-spectrum{margin-bottom:12px}
.auth-designed h1{font-size:24px;margin-bottom:6px}
.auth-steps{margin:14px 0 10px}
.auth-designed .auth-field{margin-top:10px}
.auth-designed .auth-field>span:first-child{margin-bottom:5px}
.auth-designed .auth-input input{min-height:46px;padding:10px 0}
.auth-designed .auth-hint{margin-top:4px}
.auth-designed .auth-submit{min-height:48px;margin-top:16px!important;padding-top:11px;padding-bottom:11px}
.auth-designed .auth-switch{margin-top:5px;padding:6px 0}
.auth-designed .auth-age{margin-top:4px;padding-top:10px}
@media(max-width:520px){.auth-designed{margin:0 auto;padding:calc(8px + env(safe-area-inset-top)) 20px calc(14px + env(safe-area-inset-bottom))}.auth-designed .brand{width:min(82%,260px)}.auth-designed h1{font-size:23px}.auth-designed .auth-heading p{font-size:12px}}

/* The profile step shares the same compact black surface and muted spectrum. */
.registration-screen{--entry-border:linear-gradient(110deg,#684c40,#53445f 28%,#4b4c70 52%,#365965 78%,#345e50);--entry-focus:linear-gradient(110deg,#a07057,#86679e 40%,#4895a8 75%,#459b80)}
.registration-screen .identity-editor>p.muted{font-size:11px;line-height:1.5;margin:0 0 12px;color:#91a2b0}
.registration-screen .identity-editor label{font-size:12px;font-weight:600;margin:10px 0 6px;color:#c9d6e0}
.registration-screen .identity-editor input:not([type=checkbox]):not([type=hidden]):not([type=range]),.registration-screen .identity-editor select,.registration-screen .username-control,.registration-screen .club-picker{border:1px solid transparent;border-radius:12px;background:linear-gradient(#090b0e,#090b0e) padding-box,var(--entry-border) border-box;box-shadow:none}
.registration-screen .identity-editor input:not([type=checkbox]):not([type=hidden]):not([type=range]),.registration-screen .identity-editor select{min-height:46px;margin-top:5px;padding:10px 12px;font-size:16px;font-weight:400;outline:none;max-width:100%;min-width:0;color:#e5edf4}
.registration-screen .identity-editor input::placeholder{font-size:13px;color:#728594}
.registration-screen .identity-editor select option{background:#101217;color:#e5edf4}
.registration-screen .identity-editor input:focus-visible:not([type=checkbox]):not([type=range]),.registration-screen .identity-editor select:focus-visible,.registration-screen .username-control:focus-within,.registration-screen .club-picker:focus-within{background:linear-gradient(#101217,#101217) padding-box,var(--entry-focus) border-box;box-shadow:0 0 0 2px #75b9c00d;outline:none}
.registration-screen .identity-editor .username-control{margin-top:5px}
.registration-screen .identity-editor .username-control input:not([type=checkbox]):not([type=hidden]):not([type=range]){border:0;background:transparent;box-shadow:none;margin:0;padding-left:6px}
.registration-screen .identity-editor small.muted,.registration-screen .registration-astro p,.registration-screen .registration-photo small{font-size:11px;line-height:1.5;color:#8b9eae}
.registration-screen .username-status:empty,.registration-screen .zodiac-preview:empty{display:none}
.registration-screen .username-status{font-size:11px;min-height:0;margin:4px 0}
.registration-screen .identity-editor fieldset{margin:18px 0 12px;padding-top:12px;border-color:#252c33;min-width:0}
.registration-screen .identity-editor legend{font-size:13px;letter-spacing:0;color:#e1e9f0}
.registration-screen .identity-editor .birth-fields{margin:16px 0 5px;padding:0;border:0}
.registration-screen .birth-selectors{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr)}
.registration-screen .identity-editor .birth-selectors label{margin:4px 0;font-size:11px}
.registration-screen .identity-editor .birth-selectors select{padding-left:9px;padding-right:4px;font-size:14px}
.registration-screen .identity-editor .registration-photo{gap:12px;margin:16px 0;align-items:center}
.registration-screen .registration-portrait{width:72px;height:90px;flex-basis:72px;border:1px solid transparent;border-radius:13px;background:linear-gradient(#090b0e,#090b0e) padding-box,var(--entry-border) border-box}
.registration-screen .registration-photo>span:last-child{flex:1}.registration-screen .registration-photo strong{font-size:13px}
.registration-screen .identity-editor .registration-photo input[type=file]:not([type=hidden]):not([type=range]){font-size:10px;padding:5px;min-height:40px;cursor:pointer}
.registration-screen .registration-photo input::file-selector-button{padding:7px 8px;border:1px solid #4c5865;background:#191e26;border-radius:7px;font-size:11px;color:#dce7f0;cursor:pointer;margin-right:6px}
.registration-screen .identity-visibility{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}
.registration-screen .identity-editor .checkline{font-size:11px;min-height:36px;margin:4px 0;line-height:1.4;font-weight:400}
.registration-screen .identity-editor input[type=checkbox]{accent-color:#72bcc3;margin:0}
.registration-screen .identity-preview{padding:10px 0;min-height:0;gap:10px}
.registration-screen .club-picker{padding:8px 10px}.registration-screen .club-selected{font-size:13px}
.registration-screen .club-search{grid-template-columns:minmax(0,1fr)}
.registration-screen .club-option{min-width:0;overflow-wrap:anywhere}.registration-screen .club-option[aria-pressed=true]{border-color:#527f84;background:#101e22}
.registration-screen .identity-actions{flex-direction:column;gap:5px;margin-top:14px}
.registration-screen .identity-actions .primary{margin-top:0;min-height:48px;border:1px solid transparent;border-radius:13px;background:linear-gradient(#12151b,#12151b) padding-box,var(--rainbow) border-box;color:#f0f6fa}
.registration-screen .identity-cancel{border:0;background:none;color:#98aab7;font-size:12px;min-height:44px}
.registration-screen .profile-photo-framing{border:1px solid transparent;border-radius:12px;background:linear-gradient(#090b0e,#090b0e) padding-box,var(--entry-border) border-box;overflow:hidden}
.registration-screen .profile-photo-framing .cx-frame-stage{background:#000}.registration-screen .profile-photo-framing button{background:#12151b;color:#dce8ef;border-color:#42505b}
.auth-designed.registration-screen .brand{width:160px;max-width:60%;margin:0 auto 2px}

/* Put username errors beside the field that needs correction. */
.auth-designed .auth-input:has(input[aria-invalid="true"]){border-color:#ff846b;background:linear-gradient(#1b1113,#120d10) padding-box;box-shadow:0 0 0 2px #ff846b18}
.auth-designed .auth-input:has(input[aria-invalid="true"])>svg{color:#ff9a83}
.auth-designed #auth-username-error{color:#ffb3a2;background:none;border:0;padding:0;margin:6px 2px 0;font-size:12px;line-height:1.45}
.auth-designed #auth-username-hint[hidden]{display:none}
