/* Corvo appears only when needed; no permanent space is reserved at entry. */
.team .login-corvo[hidden]{display:none!important}
.team.is-login .member-form{position:relative}
.team .login-corvo{z-index:3;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:8px;width:var(--corvo-width,190px);margin:0;padding:0;text-align:center;color:var(--duv-attention,#e4b465);font-family:var(--duv-font-ui);pointer-events:none;animation:corvo-access-in 200ms ease-out both}
.team .login-corvo[data-placement="side"]{position:absolute;right:calc(100% + 22px);left:auto}
.team .login-corvo-figure{display:block;width:120px;height:100px;overflow:hidden;mask-image:linear-gradient(to bottom,#000 0%,#000 40%,transparent 85%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 40%,transparent 85%)}
.team .login-corvo-art{display:block;width:120px;height:144px;object-fit:contain;transform:scaleX(-1);filter:drop-shadow(0 5px 12px #0005)}
.team .login-corvo-copy{max-width:100%;text-shadow:0 1px 7px #000c}
.team .login-corvo[data-placement="side"] .login-corvo-copy{width:100%;max-width:208px}
.team .login-corvo-copy strong{display:block;font-size:14px;line-height:1.35;font-weight:600;color:var(--duv-attention,#e4b465)}
.team .login-corvo-copy p{margin:5px 0 0;font-size:13px;line-height:1.45;font-weight:400;color:var(--duv-attention,#e4b465);text-wrap:balance}
.team .login-corvo[data-placement="inline"]{position:static;grid-template-columns:62px minmax(0,1fr);align-items:center;justify-items:start;gap:12px;width:100%;margin:12px 0 0;text-align:left}
.team .login-corvo[data-placement="inline"] .login-corvo-figure{width:62px;height:64px}
.team .login-corvo[data-placement="inline"] .login-corvo-art{width:62px;height:78px}
.team .login-corvo[data-placement="inline"] p{text-wrap:pretty}
/* The eye stays circular even after the hint class is removed or the password is visible. */
.team.is-login #reveal-password{position:relative;width:36px;height:36px;flex:0 0 36px;padding:8px;border-radius:50%;background:transparent!important}
.team.is-login #reveal-password:is(:hover,:active,[aria-pressed="true"]){background:transparent!important;color:var(--duv-blue)!important}
.team.is-login #reveal-password:focus-visible{outline:2px solid var(--duv-blue-line);outline-offset:3px}
.team.is-login #reveal-password::after{content:"";position:absolute;inset:-4px;border:2px solid transparent;border-radius:50%;pointer-events:none;opacity:0}
.team.is-login #reveal-password[aria-pressed="true"]::after{border-color:var(--duv-blue);opacity:.8}
.team.is-login #reveal-password.corvo-eye-hint{color:var(--duv-attention,#e4b465)!important;outline:none}
.team.is-login #reveal-password.corvo-eye-hint::after{border-color:var(--duv-attention,#e4b465);opacity:1;filter:drop-shadow(0 0 4px #e4b46580);animation:corvo-eye-guide 1.15s ease-in-out 2}
.team.is-entering .login-corvo,.team.is-board .login-corvo{display:none!important}
@keyframes corvo-access-in{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
@keyframes corvo-eye-guide{0%,100%{opacity:.65;transform:scale(1);filter:drop-shadow(0 0 3px #e4b46566)}45%{opacity:1;transform:scale(1.12);filter:drop-shadow(0 0 8px #e4b465) drop-shadow(0 0 13px #e4b46599)}}
/* The existing short-screen scroller also contains the inline hint. */
@media(max-height:600px){.team.is-login.corvo-help-inline .content{max-height:calc(100% - 24px);overflow-y:auto;overflow-x:hidden}}
@media(prefers-reduced-motion:reduce){.team .login-corvo,.team.is-login #reveal-password.corvo-eye-hint::after{animation:none}}

/* One stable amber voice for Corvo; the generic error yields to his help. */
.team.is-login.has-corvo-help #access-error{visibility:hidden}
.team .login-corvo-figure{position:relative;isolation:isolate}
.team .login-corvo-art{position:relative;z-index:1}
.team .login-corvo-figure::before{content:"";position:absolute;z-index:0;left:65%;top:39%;width:32%;height:40%;transform:translate(-50%,-50%);border-radius:50%;background:var(--duv-attention,#e4b465);opacity:.65;filter:blur(6px);pointer-events:none}
.team .login-corvo[data-placement="inline"] .login-corvo-figure::before{top:33%;height:34%;filter:blur(4px)}

/* A local illuminated veil softens the pattern only while Corvo is present. */
html.cloud-login .team .login-corvo{isolation:isolate}
html.cloud-login .team .login-corvo::before{content:'';position:absolute;inset:-64px -72px;z-index:-1;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse at 50% 40%,#edeae009 0%,#edeae000 72%),radial-gradient(ellipse,#193c4de6 0%,#173849cc 18%,#15334480 39%,#14324333 60%,#1432430a 78%,#14324300 100%);filter:blur(18px);animation:corvo-halo-in 600ms ease-out both}
html.cloud-login .team .login-corvo[data-placement='inline']{position:relative}
html.cloud-login .team .login-corvo[data-placement='inline']::before{inset:-30px -24px;filter:blur(14px)}
@keyframes corvo-halo-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){html.cloud-login .team .login-corvo::before{animation:none}}
