
.wda-hero { display: none; }
/* the row of Google + Apple (desktop: one under the other, as before) */
.wda-social { display: block; }
@media screen and (max-width: 768px) {
    .wda { min-height: 100vh; min-height: 100dvh; }
    /* the new picture covers the top of the screen and melts into the page colour */
    .wda-hero { display: block; position: fixed; left: 0; right: 0; top: 0; height: 72vh; height: 72dvh; z-index: 1; pointer-events: none; overflow: hidden; }
    .wda-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; animation: wdaHeroIn 1.4s cubic-bezier(.16,.84,.3,1) both; }
    .wda-hero::after { content: ''; position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(5,5,16,.25) 0%, rgba(5,5,16,.35) 25%, rgba(5,5,16,.82) 50%, rgba(5,5,16,.9) 75%, #050510 100%),
                    radial-gradient(ellipse at 50% 0%, rgba(var(--a1rgb),.18), transparent 70%); }
    @keyframes wdaHeroIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
    .wda:has(.wda-hero) .wda-bg video { display: none; }   /* the picture replaces the landscape clip on a phone */
    .wda:has(.wda-hero) #wdaCanvas { opacity: .3; }
    .wda:has(.wda-hero) .wda-bg img { display: none; }   /* no second picture showing a seam under the new one */

    /* one page, no card */
    .wda-shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end;
        padding: calc(12px + env(safe-area-inset-top)) 18px calc(14px + env(safe-area-inset-bottom)); }
    .wda .wda-card { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; max-width: 520px; width: 100%;
        -webkit-backdrop-filter: none; backdrop-filter: none; filter: none; transform: none; animation: none; }   /* no transform: the Home pill is placed against the page, not the card */
    .wda-card::before, .wda-accent { display: none; }
    /* Home / Back as a small glass pill in the top corner, over the picture */
    .wda-home { position: absolute; top: calc(12px + env(safe-area-inset-top)); left: 18px; margin: 0; padding: 8px 14px; font-size: .78rem;
        border-radius: 999px; background: rgba(5,5,16,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: 3; }
    .wda .wda-card { position: static; }

    /* the W logo + the app's name at the TOP, over the picture, alive (owner 2026-11-08: "upar ... W logo or name animate rahe");
       the sign-in sits at the bottom of the same screen */
    .wda .wda-card { display: flex; flex-direction: column; min-height: calc(100vh - 26px); min-height: calc(100dvh - 26px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
    .wda-body { margin-top: auto; }
    .wda-brand { margin: 34px 0 14px; }
    .wda-logo { width: 118px; animation: wdaFloat 4.5s ease-in-out infinite; filter: drop-shadow(0 6px 22px rgba(var(--a1rgb),.55)); }
    @keyframes wdaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
    .wda-brand h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: .4px; line-height: 1.2; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
    .wda-brand p { font-size: .7rem; letter-spacing: 2.5px; }
}
/* laptop too (owner 2026-11-08: "browser me icon nahi lagaye"): the same round Google + Apple icons and the floating W logo
   on every screen size; the rest of the laptop card stays as it was */
@keyframes wdaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.wda-logo { animation: wdaFloat 4.5s ease-in-out infinite; filter: drop-shadow(0 6px 22px rgba(var(--a1rgb),.55)); }
    /* Google + Apple as two round icons (owner 2026-11-08: "apple ka icon or g ka icon bnao ... premium"), the name under each */
    .wda-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 38px; padding-bottom: 26px; }
    .wda-social .wda-google, .wda-social .wd-apple-soon { flex: 0 0 56px; width: 56px; height: 56px; margin: 0; padding: 0; border-radius: 50%;
        position: relative; overflow: visible; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 0; }
    .wda-social .wda-google { background: #fff; border: 0; box-shadow: 0 10px 26px -6px rgba(var(--a2rgb),.75); }
    .wda-social .wda-google svg { width: 26px; height: 26px; }
    .wda-social .wda-google::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #fff; animation: none; }   /* the white face, over the ring */
    /* a slowly turning colour ring round the Google icon */
    .wda-social .wda-google::before { content: ''; position: absolute; inset: -3px; z-index: -1; border-radius: 50%;
        background: conic-gradient(from var(--wda-ang), var(--a1), var(--a2), #ffd76a, var(--a1)); animation: wdaRim 5s linear infinite; }
    .wda-social .wda-google:active, .wda-social .wd-apple-soon:active { transform: scale(.93); }
    .wda-social .g-label, .wda-social .wd-apple-txt { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
        font-size: 0; white-space: nowrap; color: #e8e6f5; pointer-events: none; }
    .wda-social .g-label::after { content: attr(data-short); font-size: .72rem; font-weight: 600; }
    .wda-social .wd-apple-txt::after { content: 'Apple'; font-size: .72rem; font-weight: 600; }
    .wda-social .wda-google[data-wd-busy="1"] .g-label { font-size: .66rem; }
    .wda-social .wda-google[data-wd-busy="1"] .g-label::after { content: none; }
    .wda-social .wd-apple-soon { background: #000; border: 1.5px solid rgba(255,255,255,.4); color: #fff; box-shadow: 0 10px 26px -8px rgba(0,0,0,.8); }
    .wda-social .wd-apple-soon svg { color: #fff; width: 22px; height: 26px; margin-top: -2px; }
    /* "Coming soon" becomes a small "Soon" badge on the Apple icon */
    .wda-social .wd-apple-soon-tag { position: absolute; top: -7px; right: -16px; margin: 0; padding: 2px 7px; font-size: 0; border-radius: 999px;
        background: linear-gradient(45deg, var(--a1), var(--a2)); box-shadow: 0 2px 8px rgba(0,0,0,.5); }
    .wda-social .wd-apple-soon-tag i { display: none; }
    .wda-social .wd-apple-soon-tag::after { content: 'Soon'; font-size: .56rem; font-weight: 700; color: #fff; }
    .wda-social .wd-apple-soon-note { flex: 1 1 100%; margin: 28px 0 0; }
    .wda-social .wda-google:hover { background: #fff; transform: none; }
    @media screen and (min-width: 769px) { .wda-social { margin-top: 22px; padding-bottom: 30px; } }
    @media (prefers-reduced-motion: reduce) { .wda-social .wda-google::before, .wda-logo { animation: none; } }
@media screen and (max-width: 768px) {

    .wda-or { margin: 8px 0 10px; font-size: .62rem; }
    /* the two ways as one slim switch */
    .wda-tabs { gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
    .wda-tab { flex-direction: row; justify-content: center; gap: 8px; min-height: 36px; padding: 6px; border: 0; border-radius: 11px; background: none; font-size: .74rem; }
    .wda-tab i { font-size: .9rem; }
    .wda-tab:hover { transform: none; }
    .wda-tab.on { color: #fff; background: linear-gradient(45deg, var(--a1), var(--a2)); box-shadow: 0 6px 18px -8px rgba(var(--a1rgb),.8); }
    .wda-ptitle { display: none; }
    .wda-in { margin-bottom: 10px; }
    .wda-in input, .wda-in select { padding: 12px 12px 12px 44px; font-size: .9rem; border-radius: 14px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
    .wda-in > i { left: 16px; }
    .wda-row { margin-bottom: 10px; }
    .wda-btn { padding: 12px; border-radius: 14px; margin-top: 2px; }
    .wda-hint { margin: -2px 0 0 2px; font-size: .7rem; }
    .wda-links { margin-top: 12px; gap: 6px; font-size: .8rem; }
    .wda-foot { margin-top: 12px; padding-top: 10px; font-size: .6rem; letter-spacing: .4px; }
    .wda-msg { padding: 9px 12px; margin-bottom: 10px; font-size: .82rem; }
}
/* short phones: drop the bits that only decorate */
@media screen and (max-width: 768px) and (max-height: 700px) {
    .wda-brand { margin-top: 46px; }
    .wda-logo { width: 84px; }
    .wda-brand h2 { font-size: 1.35rem; }
    .wda-foot { display: none; }
}
