/* THE SIGN-IN WALL (2026-11-11, Alec's pick: preview 34 "Front on"). Two parts:
   1. .dpw-wall*: the wall of rooms itself (Components/LoginWall.razor), drawn behind the real Login and Sign-up and on /login-34.
   2. .dpa-page.dpw: the real page's frame around the card (Components/AuthFrame.razor and index.html's first-load shell, LoginV2On).
      The card's own look is css/auth.css. The shell draws the blue, the shade, the logo and the card; the wall and the words fade in once
      the app runs (exactly as 34 opens), so nothing jumps.
   Loaded by index.html's head script when the look is on (with auth.css) and by Pages/LoginPreviews/LoginPreview34.razor.
   Only .dpw- classes (and .dpa-page.dpw): nothing reaches another page. Nothing follows the mouse; the only motion is the slow change of art. */

/* ---------- 1. the wall (drawn by JavaScript/loginWall.js): seven straight columns of four, a little wider than the screen, alternate columns nudged up and down ---------- */
.dpw-wall { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.dpw-wall-in { position: absolute; top: 50%; left: 50%; width: 106vw; display: flex; align-items: center; gap: 1.1vw; transform: translate(-50%, -50%); }
.dpw-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.1vw; }
.dpw-col:nth-child(odd) { translate: 0 -3.2vw; }
.dpw-col:nth-child(even) { translate: 0 3.2vw; }
/* a room: the picture covers the tile and holds on its framed art (--fx, --fy); the art rides on the picture by percent */
.dpw-room { position: relative; width: 100%; aspect-ratio: 2 / 3; container-type: size; overflow: hidden; border-radius: 8px; background: #1B3A9C;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
/* a room shows only once its photo AND its picture have both loaded (JavaScript/loginWall.js adds is-ready), so the photo's own art is
   never seen first and nothing swaps in a moment later */
.dpw-room-in { opacity: 0; transition: opacity 1.4s ease; }
/* the whole wall waits (JavaScript/loginWall.js, up to 1.5 s) for the tiles on screen, then fades in together */
.dpw-wall-in { transition: opacity 1.1s ease; }
.dpw-wall.is-holding .dpw-wall-in { opacity: 0; }
.dpw-room.is-ready .dpw-room-in { opacity: 1; }
.dpw-room.is-wide { aspect-ratio: 3 / 2; }
.dpw-room-in { position: absolute; --W: max(100cqw, calc(100cqh * var(--ar))); width: var(--W); height: calc(var(--W) / var(--ar));
    left: calc((100cqw - var(--W)) * var(--fx)); top: calc((100cqh - var(--W) / var(--ar)) * var(--fy)); }
.dpw-room-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the art (JavaScript/loginWall.js): one picture per tile; a swap lays the next one over it and fades it in (1.2 s), then the old one goes */
.dpw-art { position: absolute; display: block; opacity: 0; transition: opacity 2s ease; }
.dpw-art.is-on { opacity: 1; }
@keyframes dpw-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .dpw-room-in, .dpw-wall-in { transition: none; }
    .dpw-art { transition: none; }
}

/* ---------- 2. the real page (.dpa-page.dpw): the blue, the shade, Downpour as a masthead, the words low on the left, the card right of center ---------- */
.dpa-page.dpw { color: #fff; font-family: Inter, Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
    background: radial-gradient(1100px 760px at 12% 0%, rgba(110, 155, 255, .34), rgba(110, 155, 255, 0) 62%),
        linear-gradient(150deg, #2459E2 0%, #1A45C4 38%, #0F2470 100%); }
.dpw-shade { position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(14, 34, 112, .9) 0%, rgba(14, 34, 112, .84) 26%, rgba(15, 38, 124, .5) 56%, rgba(15, 38, 124, .32) 100%),
        linear-gradient(180deg, rgba(11, 24, 80, .55) 0%, rgba(11, 24, 80, 0) 22%, rgba(11, 24, 80, 0) 74%, rgba(11, 24, 80, .6) 100%); }
.dpw-mast { position: absolute; z-index: 4; left: clamp(40px, 5.2vw, 104px); top: clamp(26px, 5.4vh, 60px); display: block;
    width: clamp(290px, 24vw, 460px); height: auto; aspect-ratio: 3500 / 800;
    filter: brightness(0) invert(1) drop-shadow(0 6px 24px rgba(5, 14, 60, .35)); }
.dpw-copy { position: absolute; z-index: 3; left: clamp(40px, 5.2vw, 104px); top: 0; bottom: 0; width: min(37vw, 720px);
    display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-bottom: clamp(36px, 8vh, 96px);
    animation: dpw-in 1.2s ease both; }
.dpa-page .dpw-hero { max-width: none; font-family: "Plus Jakarta Sans", Inter, Roboto, sans-serif; font-size: clamp(54px, 5.3vw, 104px);
    line-height: .98; font-weight: 800; letter-spacing: -.04em; word-spacing: .06em; text-wrap: balance; color: #fff;
    text-shadow: 0 2px 40px rgba(6, 16, 64, .35); }
.dpa-page .dpw-sub { margin-top: clamp(14px, 2.4vh, 26px); max-width: 19em; font-size: clamp(19px, 1.55vw, 29px); line-height: 1.32; font-weight: 500;
    letter-spacing: -.01em; color: rgba(255, 255, 255, .88); text-wrap: balance; }
.dpa-page .dpw-proof { margin-top: clamp(18px, 3.4vh, 36px); padding-top: clamp(14px, 2.4vh, 24px); border-top: 1px solid rgba(255, 255, 255, .26);
    font-size: clamp(17px, 1.3vw, 23px); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: rgba(255, 255, 255, .92); }
.dpa-page .dpw-proof b { font-weight: 800; color: #fff; }
/* the card's column: its middle sits at 66% of the page; a tall card (Sign-up, an error, the email code) grows and the page scrolls */
.dpw-main { position: relative; z-index: 3; min-height: 100%; margin-left: 32%; display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.dpa-page.dpw .dpa-card { color: #0F172A; }

/* narrower than the two sides (a small laptop window, a tablet, a phone): one column, Downpour on top, the card, then the words; a deeper wash */
@media (max-width: 1099px) {
    .dpa-page.dpw { display: flex; flex-direction: column; align-items: center; }
    /* the page is a fixed-height scroller: nothing may shrink, or the card slides over the logo and the words (seen at 390 wide on dev) */
    .dpa-page.dpw > .dpw-mast, .dpa-page.dpw > .dpw-main, .dpa-page.dpw > .dpw-copy { flex: none; }
    .dpw-shade { background: rgba(14, 34, 112, .8); }
    /* a tall narrow screen: the wall grows past the width so it fills the height (no bare band above and below) */
    .dpw-wall-in { width: max(106vw, 125vh); }
    .dpw-mast { position: relative; left: auto; top: auto; order: 0; width: min(300px, 70vw); margin: 32px auto 22px; }
    .dpw-main { order: 1; min-height: 0; margin: 0; width: 100%; padding: 0 16px; }
    .dpw-copy { position: relative; order: 2; left: auto; top: auto; bottom: auto; width: min(560px, 100%); align-items: center; text-align: center;
        padding: 30px 20px 40px; }
    .dpa-page .dpw-hero { max-width: none; font-size: clamp(36px, 7vw, 56px); }
    .dpa-page .dpw-sub { max-width: 24em; font-size: 18px; }
    .dpa-page .dpw-proof { font-size: 17px; }
}
@media (max-width: 560px) {
    .dpw-mast { width: min(240px, 64vw); margin: 22px auto 16px; }
    .dpw-main { padding: 0 12px; }
}

/* ---------- 3. the wall from the first load (2026-11-15, Alec's pick of the loader looks: "the wall arrives") ----------
   index.html draws the wall at once (JavaScript/loginWall.js boot(), #dpw-boot). Over the app (is-over), the wall alone, while the
   app downloads; under it (is-under) once a sign-in page is up, which then lets it show through (html.dpw-booted), so nothing moves. */
#dpw-boot { position: fixed; inset: 0; overflow: hidden;
    background: radial-gradient(1100px 760px at 12% 0%, rgba(110, 155, 255, .34), rgba(110, 155, 255, 0) 62%), linear-gradient(150deg, #2459E2 0%, #1A45C4 38%, #0F2470 100%); }
#dpw-boot.is-over { z-index: 1250; }
#dpw-boot.is-under { z-index: 0; }
#dpw-boot.is-under .dpw-boot-shade { display: none; }
html.dpw-booted .dpa-page.dpw { background: transparent; }
/* the app's own wait screen (App.razor's Authorizing): the same wall and words; hidden while the first-load wall covers it */
.dpl-wall-page { position: fixed; inset: 0; z-index: 5; overflow: hidden;
    background: radial-gradient(1100px 760px at 12% 0%, rgba(110, 155, 255, .34), rgba(110, 155, 255, 0) 62%), linear-gradient(150deg, #2459E2 0%, #1A45C4 38%, #0F2470 100%); }
html.dpw-booted .dpl-wall-page { display: none; }
