/* Anika on the login page: calm background, Anika to the left of the glass card. */
.login-card.anika-bg {
    background: linear-gradient(180deg, #24451c, #11240d) !important;
    padding: 30px 12px;
}
body.dark-only .login-card.anika-bg {
    background: linear-gradient(180deg, #18200f, #0d130a) !important;
}

.anika-layout {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    min-height: calc(100vh - 60px);
}

/* Her column; the canvas is wider so outstretched arms can reach behind the card */
.anika-stage {
    position: relative;
    z-index: 0;
    flex: 0 0 300px;
    height: min(80vh, 660px);
    min-height: 380px;
}
.anika-stage canvas {
    position: absolute;
    top: 0;
    left: -40%;
    width: 180%;
    height: 100%;
    display: block;
    cursor: pointer;
}
.anika-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .6);
    font-size: .9rem;
}

/* The card stays on top of her canvas */
.anika-layout .login-main {
    position: relative;
    z-index: 1;
    align-self: center;
}

/* Narrow windows: Anika above the card */
@media (max-width: 760px) {
    .anika-layout { flex-direction: column; align-items: center; gap: 8px; }
    .anika-stage { flex: none; width: 100%; height: 360px; min-height: 0; }
}
/* Real phones (touch + narrow): form only, no 3D */
@media (max-width: 760px) and (pointer: coarse) {
    .anika-stage { display: none; }
}
