/* Quiet Data v226: glass log in / sign up page.
   Everything is scoped to #authGate and the qg- prefix, so no other page or design switch (Normal, Liquid Glass, Premium) is touched.
   The gate keeps its own look whichever site design is on. */
#authGate.auth-gate{--qg-ink:#0c1f4a;--qg-muted:#5f6c86;--qg-blue:#1a73f0;--qg-link:#e8890c;--qg-err:#c62f3b;
  position:fixed;inset:0;z-index:200;display:block;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  padding:calc(18px + env(safe-area-inset-top,0px)) 14px calc(92px + env(safe-area-inset-bottom,0px));
  background:#dff1fb!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  color:#0c1f4a;color-scheme:light;font:16px/1.45 "Nunito","Segoe UI",system-ui,-apple-system,sans-serif;
  transition:opacity .35s ease,visibility .35s ease}
@media (min-width:480px){#authGate.auth-gate{padding-top:calc(36px + env(safe-area-inset-top,0px))}}
#authGate.auth-gate.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
#authGate *,#authGate *:before,#authGate *:after{box-sizing:border-box}
#authGate [hidden]{display:none!important}
#authGate :focus-visible{outline:3px solid #1a73f0;outline-offset:3px;border-radius:8px}

/* background circles */
#authGate .qg-bg{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}
#authGate .qg-bg:before,#authGate .qg-bg:after{content:"";position:absolute;border-radius:50%}
#authGate .qg-bg:before{width:360px;height:360px;top:-110px;right:-120px;background:linear-gradient(135deg,#1a73f0,#22c7f0)}
#authGate .qg-bg:after{width:300px;height:300px;bottom:-90px;left:-110px;background:linear-gradient(135deg,#ff9f1c,#ffd166)}

/* glass card */
#authGate .qg-card{position:relative;z-index:1;max-width:440px;margin:0 auto;padding:26px 22px;
  background:linear-gradient(160deg,#ffffffa6,#ffffff59);-webkit-backdrop-filter:blur(26px) saturate(160%);backdrop-filter:blur(26px) saturate(160%);
  border:1px solid #ffffffcc;border-radius:30px;box-shadow:0 24px 60px #0c1f4a26,inset 0 1px 0 #fff}
#authGate .qg-art{display:block;width:196px;height:196px;margin:0 0 16px -4px;filter:drop-shadow(0 12px 20px #0c1f4a22)}
#authGate .qg-h1{display:flex;align-items:center;gap:8px;white-space:nowrap;margin:0 0 4px;padding:0;font-size:clamp(23px,7.2vw,31px);line-height:1.15;font-weight:800;letter-spacing:-.5px;color:#0c1f4a;text-align:left}
@media (max-width:359px){#authGate .qg-h1{white-space:normal;font-size:21px}}
#authGate .qg-sub{margin:0 0 22px;font-size:16px;font-weight:700;letter-spacing:.1px;color:#5f6c86}
#authGate .qg-badge{flex:none;width:26px;height:26px;display:inline-grid;place-items:center;color:#fff;border-radius:50%;background:linear-gradient(145deg,#2c73ff,#58b5ff);box-shadow:0 0 0 3px rgba(63,134,255,.15),0 5px 14px rgba(26,92,255,.4)}
#authGate .qg-badge svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#authGate .qg-badge svg path:first-child{fill:currentColor;stroke:none}
#authGate .qg-badge .qg-check{stroke:#0d2d76;stroke-width:2.4}

/* login / sign up mode switching */
#authGate .qg-signup{display:none!important}
#authGate[data-auth-mode="signup"] .qg-signup{display:block!important}
#authGate[data-auth-mode="signup"] .qg-consent.qg-signup{display:flex!important}
#authGate[data-auth-mode="signup"] .qg-login{display:none!important}

/* form */
#authGate .qg-field{margin:0 0 14px}
#authGate .qg-field label{display:block;margin:0 0 6px 2px;font-size:13px;font-weight:700;color:#5f6c86}
#authGate .qg-box{display:flex;align-items:center;height:56px;padding:0 16px;border-radius:10px;background:#ffffff8c;border:1px solid #ffffffd9;box-shadow:inset 0 1px 2px #0c1f4a12;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
#authGate .qg-box:focus-within{background:#ffffffcc;border-color:#1a73f0;box-shadow:0 0 0 3px #1a73f02e}
#authGate .qg-box input{flex:1;min-width:0;width:100%;height:100%;margin:0;padding:0;border:0!important;border-radius:0;outline:0;background:none!important;box-shadow:none!important;
  color:#0c1f4a;font:inherit;font-size:18px!important;font-weight:600;-webkit-appearance:none;appearance:none}
#authGate .qg-box input::placeholder{color:#a3aec0;font-weight:600;opacity:1}
#authGate .qg-box input:-webkit-autofill{-webkit-text-fill-color:#0c1f4a;box-shadow:0 0 0 40px #eaf4fb inset!important}
#authGate .qg-pre{display:flex;align-items:center;gap:8px;margin-right:14px;font-size:18px;font-weight:700;color:#6b768c;white-space:nowrap}
#authGate .qg-flag{position:relative;width:30px;height:20px;border-radius:2px;background:linear-gradient(#ce1126 33%,#fcd116 33% 66%,#006b3f 66%)}
#authGate .qg-flag:after{content:"\2605";position:absolute;inset:0;display:grid;place-items:center;font-size:11px;line-height:1;color:#111}
#authGate .qg-eye{width:auto;height:auto;min-height:0;margin:0;padding:6px 0 6px 8px;border:0;background:none;box-shadow:none;color:#8c98ad;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
#authGate .qg-forgot{display:block;width:auto;height:auto;min-height:0;margin:-4px 2px 14px auto;padding:0;border:0;background:none;box-shadow:none;color:#e8890c;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
#authGate .qg-consent{gap:10px;align-items:flex-start;margin:2px 0 4px;font-size:14px;color:#5f6c86}
#authGate .qg-consent input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:#1a73f0;-webkit-appearance:checkbox;appearance:auto}
#authGate .qg-consent input.is-invalid{outline:2px solid #c62f3b;outline-offset:2px}
#authGate .qg-consent a{color:#e8890c;font-weight:700;text-decoration:none}
#authGate .qg-err{margin:8px 0 0;color:#c62f3b;font-size:14px;font-weight:700}
#authGate .qg-err:empty{margin:0}
#authGate .qg-err.ok{color:#14803c}
#authGate .qg-go{display:flex;align-items:center;justify-content:center;width:100%;height:56px;min-height:0;margin:14px 0 0;padding:0 16px;border:0;border-radius:28px;
  background:linear-gradient(135deg,#1a73f0,#22a8f0);box-shadow:0 10px 24px #1a73f055,inset 0 1px 0 #ffffff66;color:#fff;font:inherit;font-size:18px;font-weight:800;letter-spacing:0;text-transform:none;text-shadow:none;cursor:pointer}
#authGate .qg-go:disabled{background:#9db4dc;box-shadow:none;cursor:default}
#authGate .qg-spin{width:22px;height:22px;border:3px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:qgSpin .8s linear infinite}
@keyframes qgSpin{to{transform:rotate(360deg)}}
#authGate .qg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* links under the form */
#authGate .qg-note{margin:16px 0 0;padding:10px 14px;border-radius:12px;background:#fff2dc;color:#8a5200;font-size:14px;font-weight:700;text-align:center}
#authGate .qg-under{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:20px}
#authGate .qg-sw{color:#5f6c86;font-weight:600;text-align:center}
#authGate .qg-link{display:inline;width:auto;height:auto;min-height:0;margin:0;padding:0;border:0;background:none;box-shadow:none;color:#e8890c;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}
#authGate a.qg-link{font-weight:700}
#authGate #guestBtn.is-recommended{padding:8px 16px;border-radius:20px;background:#1a73f01a;color:#1a73f0}
#authGate .qg-bar{width:1px;height:24px;background:#ffffffb3}

/* Connect with us: closed by default, one tap opens everything */
#authGate .qg-connect{margin-top:26px;padding-top:6px;border-top:1px solid #ffffffb3;text-align:center}
#authGate .qg-connect-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:auto;min-height:44px;margin:0;padding:8px 0;border:0;background:none;box-shadow:none;color:#5f6c86;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
#authGate .qg-connect-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}
#authGate .qg-connect.is-open .qg-connect-btn svg{transform:rotate(180deg)}
#authGate .qg-more{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .3s ease,opacity .25s ease,visibility 0s linear .3s}
#authGate .qg-connect.is-open .qg-more{grid-template-rows:1fr;opacity:1;visibility:visible;transition:grid-template-rows .3s ease,opacity .25s ease,visibility 0s}
#authGate .qg-more-in{min-height:0;overflow:hidden}
#authGate .qg-socs{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:4px;padding-top:12px}
#authGate .qg-soc{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;color:#3d4a66;font-size:12px;font-weight:800;text-decoration:none}
#authGate .qg-soc svg{box-sizing:content-box;width:22px;height:22px;padding:14px;border-radius:50%;color:#fff;fill:#fff;box-shadow:0 8px 18px var(--sh),inset 0 1px 0 #ffffff55}
#authGate .qg-soc:nth-child(1) svg{background:#0b0b0f;--sh:#fe2c5540}
#authGate .qg-soc:nth-child(2) svg{background:#0a66c2;--sh:#0a66c255}
#authGate .qg-soc:nth-child(3) svg{background:#1877f2;--sh:#1877f255}
#authGate .qg-soc:nth-child(4) svg{background:#ffe600;fill:#111;--sh:#ffd30066}
#authGate .qg-soc:nth-child(5) svg{background:#24292f;--sh:#24292f44}
#authGate .qg-legal{display:flex;gap:18px;justify-content:center;margin-top:20px;padding-bottom:6px;font-size:13px}
#authGate .qg-legal a{color:#5f6c86;font-weight:600;text-decoration:none}
@media (max-width:360px){#authGate .qg-soc svg{width:18px;height:18px;padding:12px}#authGate .qg-soc{font-size:11px}}

/* Important account notice (pops up on Sign up and on Create account) */
#authGate .qg-scrim{position:fixed;inset:0;z-index:5;display:flex;align-items:flex-end;justify-content:center;background:#0c1f4a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
#authGate .qg-scrim[hidden]{display:none!important}
#authGate .qg-sheet{width:100%;max-width:440px;padding:26px 24px calc(24px + env(safe-area-inset-bottom,0px));background:#fffffff0;-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);border:1px solid #fff;border-radius:24px 24px 0 0;color:#0c1f4a;animation:qgUp .25s ease-out}
@keyframes qgUp{from{transform:translateY(40px);opacity:0}}
#authGate .qg-mark{display:grid;place-items:center;width:44px;height:44px;margin-bottom:12px;border-radius:50%;background:#fff2dc;color:#e8890c;font-size:24px;font-weight:800}
#authGate .qg-sheet h3{margin:0 0 8px;font-size:22px;line-height:1.2;color:#0c1f4a}
#authGate .qg-sheet p{margin:0 0 20px;color:#5b6780;font-weight:600}
#authGate .qg-sheet .qg-go{height:auto;min-height:56px;margin:0 0 6px;padding:10px 16px;line-height:1.25;text-align:center}
#authGate .qg-sheet .qg-link{display:block;width:100%;height:48px;font-size:16px;font-weight:800}
@media (prefers-reduced-motion:reduce){#authGate .qg-spin{animation-duration:2.4s}#authGate .qg-sheet{animation:none}#authGate .qg-more,#authGate .qg-connect-btn svg,#authGate.auth-gate{transition:none}}

/* the floating assistant button must not cover the notice buttons */
body.auth-locked:has(#authConfirm:not([hidden])) .qa-fab{display:none!important}

/* ===== v227: one fixed screen, no scrolling =====
   The page now fits the phone screen exactly. Sizes shrink with the screen height, so nothing has to be scrolled to be reached. */
#authGate.auth-gate{display:flex;align-items:center;justify-content:center;overflow:hidden;overscroll-behavior:none;touch-action:manipulation;
  height:100vh;height:100dvh;
  padding:calc(10px + env(safe-area-inset-top,0px)) 14px calc(78px + env(safe-area-inset-bottom,0px))}
#authGate .qg-card{width:100%;max-width:440px;margin:0 auto;padding:clamp(14px,2.6dvh,26px) clamp(16px,5.4vw,22px);border-radius:28px}

/* art shrinks with the screen height and is dropped on short screens */
#authGate .qg-art{width:min(170px,17dvh);height:min(170px,17dvh);margin:0 0 clamp(6px,1.4dvh,14px) -2px}

/* title and verified badge always stay inside the card, even on small phones */
#authGate .qg-h1{display:block;white-space:normal;font-size:clamp(19px,5.9vw,30px);line-height:1.2;margin:0 0 2px;padding-right:0}
#authGate .qg-h1 #authTitle{white-space:nowrap}
#authGate .qg-badge{display:inline-grid;vertical-align:-0.18em;margin-left:6px;width:clamp(21px,5.6vw,26px);height:clamp(21px,5.6vw,26px)}
#authGate .qg-badge svg{width:76%;height:76%}
#authGate .qg-sub{margin:0 0 clamp(8px,1.8dvh,18px);font-size:clamp(14px,4.1vw,16px)}

/* compact fields */
#authGate .qg-field{margin:0 0 clamp(7px,1.3dvh,12px)}
#authGate .qg-field label{margin:0 0 4px 2px;font-size:12.5px}
#authGate .qg-box{height:clamp(44px,6.2dvh,54px);padding:0 14px}
#authGate .qg-box input{font-size:17px!important}
#authGate .qg-pre{font-size:17px;margin-right:10px}
#authGate .qg-forgot{margin:-2px 2px clamp(4px,1dvh,10px) auto}
#authGate .qg-consent{margin:0}
#authGate .qg-err{margin:6px 0 0;font-size:13px}
#authGate .qg-go{height:clamp(46px,6.6dvh,54px);margin:clamp(8px,1.4dvh,12px) 0 0;font-size:17px}
#authGate .qg-note{margin:10px 0 0;padding:7px 12px;font-size:13px}

/* links under the form: Create account line, then Continue as guest | Terms and conditions on one row */
#authGate .qg-under{gap:clamp(8px,1.5dvh,12px);margin-top:clamp(10px,1.8dvh,16px)}
#authGate .qg-row{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;padding-top:clamp(8px,1.4dvh,12px);border-top:1px solid rgba(12,31,74,.16)}
#authGate .qg-row .qg-link{font-size:14px;white-space:nowrap}
#authGate .qg-row a.qg-link{color:#5f6c86;font-weight:700}
#authGate .qg-bar{flex:none;width:2px;height:20px;border-radius:2px;background:rgba(12,31,74,.38)}
#authGate #guestBtn.is-recommended{padding:6px 12px}

/* Connect with us: opens as a floating panel above the button, so the page itself never grows or scrolls */
#authGate .qg-connect{position:relative;margin-top:clamp(6px,1.2dvh,12px);padding-top:0;border-top:0}
#authGate .qg-connect-btn{min-height:36px;padding:4px 0}
#authGate .qg-more{position:absolute;left:-6px;right:-6px;bottom:calc(100% + 4px);z-index:6;display:block;grid-template-rows:none;
  padding:14px 12px 10px;border-radius:22px;background:#fffffffa;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid #fff;box-shadow:0 18px 44px #0c1f4a38;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s}
#authGate .qg-connect.is-open .qg-more{grid-template-rows:none;opacity:1;visibility:visible;transform:none;transition:opacity .2s ease,transform .2s ease,visibility 0s}
#authGate .qg-more-in{overflow:visible}
#authGate .qg-socs{padding-top:0}
#authGate .qg-legal{margin-top:12px;padding-bottom:0}

/* short screens (small iPhones, browsers with toolbars): drop the picture, tighten everything */
@media (max-height:760px){#authGate.auth-gate{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}}
@media (max-height:620px){#authGate .qg-sub{display:none}#authGate .qg-h1{margin-bottom:8px}#authGate.auth-gate{padding-top:calc(6px + env(safe-area-inset-top,0px));padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}}
@media (max-width:359px){#authGate .qg-h1{font-size:19px}#authGate .qg-card{border-radius:24px}}

/* Create account has four fields plus the tick box, so it is packed a little tighter to stay on one screen */
#authGate[data-auth-mode="signup"] .qg-art,#authGate[data-auth-mode="signup"] .qg-sub{display:none}
#authGate[data-auth-mode="signup"] .qg-h1{margin-bottom:clamp(8px,1.6dvh,14px)}
#authGate[data-auth-mode="signup"] .qg-card{padding-top:clamp(12px,2dvh,22px);padding-bottom:clamp(10px,1.6dvh,20px)}
#authGate[data-auth-mode="signup"] .qg-field{margin-bottom:clamp(5px,1dvh,10px)}
#authGate[data-auth-mode="signup"] .qg-box{height:clamp(42px,5.6dvh,52px)}
#authGate[data-auth-mode="signup"] .qg-go{height:clamp(44px,6dvh,52px);margin-top:clamp(6px,1.2dvh,10px)}
#authGate[data-auth-mode="signup"] .qg-under{margin-top:clamp(8px,1.4dvh,14px);gap:clamp(6px,1.2dvh,10px)}
#authGate[data-auth-mode="signup"] .qg-row{padding-top:clamp(6px,1.1dvh,10px)}
#authGate[data-auth-mode="signup"] .qg-connect{margin-top:clamp(2px,.8dvh,8px)}
@media (max-height:700px){#authGate[data-auth-mode="signup"].auth-gate{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
  body.auth-locked:has(#authGate[data-auth-mode="signup"]:not(.is-hidden)) .qa-fab{display:none!important}}
@media (max-width:359px){#authGate .qg-row{gap:8px}#authGate .qg-row .qg-link{font-size:12.5px}#authGate .qg-consent{font-size:13px}}

/* ===== v228: Continue as guest is a stand-alone button at the top; the picture shrinks to fit instead of disappearing ===== */
#authGate .qg-card{display:flex;flex-direction:column;max-height:100%;min-height:0}
#authGate .qg-card>*{flex:none}
#authGate .qg-art{flex:0 1 150px;min-height:0;width:auto;max-width:100%;aspect-ratio:1/1;height:auto;align-self:flex-start;margin:0 0 clamp(4px,1dvh,10px) -2px}
#authGate .qg-guest{position:relative;overflow:hidden;display:flex;align-items:center;gap:12px;width:100%;height:auto;min-height:clamp(52px,7.4dvh,62px);margin:0 0 clamp(8px,1.6dvh,14px);padding:8px 14px 8px 10px;border:1px solid #fff;border-radius:20px;
  background:linear-gradient(135deg,#ffffffe6,#ffffff99);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 10px 26px #1a73f02e,inset 0 1px 0 #fff;color:#0c1f4a;font:inherit;text-align:left;cursor:pointer;
  animation:qgGlow 2.8s ease-in-out infinite;-webkit-tap-highlight-color:transparent}
#authGate .qg-guest:before{content:"";position:absolute;top:0;bottom:0;left:-40%;width:35%;background:linear-gradient(100deg,transparent,#ffffffd9,transparent);transform:skewX(-18deg);animation:qgShine 3.8s ease-in-out infinite;pointer-events:none}
#authGate .qg-guest:active{transform:scale(.985)}
#authGate .qg-guest-ic{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#ff9f1c,#ffd166);box-shadow:0 5px 12px #ff9f1c66}
#authGate .qg-guest-ic svg{width:21px;height:21px;fill:none;stroke:#0c1f4a;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#authGate .qg-guest-tx{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
#authGate .qg-guest-tx b{font-size:16px;font-weight:800;color:#0c1f4a}
#authGate .qg-guest-tx small{margin-top:2px;font-size:12px;font-weight:700;color:#5f6c86;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#authGate .qg-guest-go{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#1a73f0;animation:qgNudge 1.8s ease-in-out infinite}
#authGate .qg-guest-go svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
#authGate #guestBtn.is-recommended{padding:8px 14px 8px 10px;border-radius:20px;background:linear-gradient(135deg,#ffffff,#e6f1ff);color:#0c1f4a;box-shadow:0 0 0 3px #1a73f044,0 10px 26px #1a73f040}
@keyframes qgGlow{0%,100%{box-shadow:0 10px 26px #1a73f02e,0 0 0 0 #ff9f1c00,inset 0 1px 0 #fff}50%{box-shadow:0 12px 30px #1a73f04d,0 0 0 5px #ff9f1c2e,inset 0 1px 0 #fff}}
@keyframes qgShine{0%,55%{left:-40%}100%{left:130%}}
@keyframes qgNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(3px)}}
@media (prefers-reduced-motion:reduce){#authGate .qg-guest,#authGate .qg-guest:before,#authGate .qg-guest-go{animation:none}}
@media (max-height:640px){#authGate .qg-guest-tx small{display:none}#authGate .qg-guest{min-height:48px}}
@media (max-width:359px){#authGate .qg-guest-tx b{font-size:15px}}
/* terms row is now just the Terms link under a visible rule */
#authGate .qg-row{justify-content:center}
#authGate .qg-bar{display:none}
/* Create account: guest button stays on top, picture hidden to make room */
#authGate[data-auth-mode="signup"] .qg-guest{min-height:46px;margin-bottom:clamp(6px,1.2dvh,10px)}
#authGate[data-auth-mode="signup"] .qg-guest-tx small{display:none}
@media (max-height:560px){#authGate .qg-art{display:none}}

/* ===== v229: on phones the card fills the whole screen (no small floating card, no empty bands) ===== */
@media (max-width:520px){
  #authGate.auth-gate,#authGate[data-auth-mode="signup"].auth-gate{align-items:stretch;padding:calc(8px + env(safe-area-inset-top,0px)) 8px calc(8px + env(safe-area-inset-bottom,0px))}
  #authGate .qg-card{height:100%;max-width:none;margin:0;padding-left:clamp(16px,5vw,24px);padding-right:clamp(16px,5vw,24px);padding-bottom:max(14px,env(safe-area-inset-bottom,0px));justify-content:flex-start}
  /* the picture takes whatever height is left over, so tall phones get a bigger picture instead of empty space */
  #authGate .qg-art{flex:1 1 150px;max-height:min(300px,34dvh);min-height:0}
  /* when the picture is hidden or full, the bottom links stay anchored to the bottom of the screen */
  #authGate .qg-under{margin-top:auto;padding-top:clamp(8px,1.4dvh,14px)}
  #authGate .qg-connect{margin-top:clamp(2px,.8dvh,8px)}
  #authGate[data-auth-mode="signup"] .qg-card{padding-top:clamp(12px,2.2dvh,22px)}
  #authGate[data-auth-mode="signup"] .qg-h1{margin-top:auto}
  #authGate .qg-guest{flex:none}
}
@media (max-width:520px) and (min-height:800px){
  #authGate .qg-box{height:58px}
  #authGate .qg-go{height:58px}
  #authGate .qg-field{margin-bottom:14px}
  #authGate .qg-guest{min-height:66px}
}
@media (max-width:520px) and (max-height:600px){
  #authGate[data-auth-mode="signup"] .qg-box{height:38px}
  #authGate[data-auth-mode="signup"] .qg-field label{margin-bottom:2px;font-size:11.5px}
  #authGate[data-auth-mode="signup"] .qg-field{margin-bottom:4px}
  #authGate[data-auth-mode="signup"] .qg-box input,#authGate[data-auth-mode="signup"] .qg-pre{font-size:15px}
  #authGate[data-auth-mode="signup"] .qg-go{height:42px}
  #authGate[data-auth-mode="signup"] .qg-guest{min-height:42px}
  #authGate[data-auth-mode="signup"] .qg-guest-ic{width:30px;height:30px}
  #authGate[data-auth-mode="signup"] .qg-connect-btn{min-height:30px}
  #authGate[data-auth-mode="signup"] .qg-card{padding-top:10px;padding-bottom:8px}
}

/* ===== v232: the round support button always sits INSIDE the login / sign up card =====
   The card ends 8px above the bottom safe area (home-indicator bar on iPhone). The button used to sit max(20px, safe-area) from the screen
   bottom, which on an iPhone put it right on the card's border line. It now keeps the same distance from the card's bottom edge on every phone. */
html body.auth-locked .qa-fab{right:calc(18px + env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px))}
html body.auth-locked .qa-panel{bottom:calc(88px + env(safe-area-inset-bottom,0px))}

/* ===== v233: "Connect with us" is always showing (no tap needed) =====
   The social icons and the Privacy policy / Terms of service links now sit in the card all the time, in the same style as the old pop-up.
   The heading stays as a label. The old separate Terms link row is hidden because Terms of service is in the new row. */
#authGate .qg-row{display:none}
#authGate .qg-connect{position:static;margin-top:clamp(4px,1dvh,10px);padding-top:clamp(6px,1.2dvh,10px);border-top:1px solid rgba(12,31,74,.16)}
#authGate .qg-connect-btn{min-height:0;padding:0 0 2px;pointer-events:none;cursor:default;font-size:13px;color:#5f6c86;-webkit-tap-highlight-color:transparent}
#authGate .qg-connect-btn svg{display:none}
#authGate .qg-more,#authGate .qg-connect.is-open .qg-more{position:static;left:auto;right:auto;bottom:auto;display:block;grid-template-rows:none;opacity:1;visibility:visible;transform:none;transition:none;
  padding:0;border:0;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
#authGate .qg-more-in{min-height:0;overflow:visible}
#authGate .qg-socs{padding-top:clamp(4px,.8dvh,8px)}
#authGate .qg-soc{gap:clamp(3px,.6dvh,6px);font-size:11.5px}
#authGate .qg-soc svg{width:clamp(18px,2.6dvh,22px);height:clamp(18px,2.6dvh,22px);padding:clamp(9px,1.5dvh,13px)}
/* the legal row is as tall as the round support button's strip, so the icons above it never touch the button */
#authGate .qg-legal{margin:0;padding:0;min-height:calc(74px - max(14px,env(safe-area-inset-bottom,0px)));align-items:center;flex-wrap:wrap;gap:6px 16px}
/* if a screen is still too short, the card scrolls inside itself instead of cutting anything off */
#authGate .qg-card{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
#authGate .qg-card::-webkit-scrollbar{display:none}
/* Create account is the tightest screen: smaller icons, no icon names */
#authGate[data-auth-mode="signup"] .qg-connect{margin-top:clamp(2px,.6dvh,6px);padding-top:clamp(4px,.8dvh,8px)}
#authGate[data-auth-mode="signup"] .qg-connect-btn{display:none}
#authGate[data-auth-mode="signup"] .qg-socs{padding-top:0}
#authGate[data-auth-mode="signup"] .qg-soc span{display:none}
#authGate[data-auth-mode="signup"] .qg-soc svg{width:18px;height:18px;padding:9px}
#authGate[data-auth-mode="signup"] .qg-legal{min-height:60px}
@media (max-height:700px){#authGate[data-auth-mode="signup"] .qg-legal{min-height:34px}}
@media (max-width:380px){#authGate .qg-legal{gap:4px 12px}}
/* tall phones: the form is a little less roomy so the picture keeps a good size next to the new links */
@media (max-width:520px) and (min-height:800px){
  #authGate .qg-box{height:52px}
  #authGate .qg-go{height:52px}
  #authGate .qg-field{margin-bottom:10px}
  #authGate .qg-guest{min-height:58px}
}

/* ===== v253: photo of a customer holding the phone (replaces the old drawing) =====
   The picture always sits on the LEFT (bottom-left anchored) on every screen size and is a little bigger on phones.
   The "Order delivered" banner is live HTML on top of the phone, so its words stay sharp. It scales with the picture (container units). */
#authGate .qg-art{position:relative;flex:0 1 min(300px,32dvh);min-height:0;width:100%;max-width:100%;height:auto;aspect-ratio:auto;align-self:stretch;margin:0 0 clamp(2px,.6dvh,6px) 0;filter:none}
#authGate .qg-stage{position:absolute;left:0;top:0;bottom:0;height:100%;aspect-ratio:1320/1330;max-width:100%;container-type:inline-size}
#authGate .qg-photo{display:block;width:100%;height:100%;object-fit:contain;object-position:left bottom;user-select:none;-webkit-user-select:none;pointer-events:none;
  filter:drop-shadow(0 10px 16px #0c1f4a26);-webkit-mask-image:linear-gradient(#000 90%,transparent);mask-image:linear-gradient(#000 90%,transparent)}
@media (max-width:520px){#authGate .qg-art{flex:1 1 150px;max-height:min(360px,40dvh)}}
#authGate .qg-notif{position:absolute;left:1%;top:58%;width:60cqw;display:flex;align-items:center;gap:2.6cqw;padding:2.6cqw 3cqw;border-radius:5.6cqw;
  background:linear-gradient(160deg,#ffffffeb,#f3f6fbd9);-webkit-backdrop-filter:blur(2.4cqw) saturate(170%);backdrop-filter:blur(2.4cqw) saturate(170%);
  border:.25cqw solid #ffffffd9;box-shadow:0 2.4cqw 6cqw #0c1f4a38,0 .4cqw 1.2cqw #0c1f4a1f;pointer-events:none;
  animation:qgNotif 7s cubic-bezier(.2,.8,.25,1) infinite;transform-origin:50% 0}
#authGate .qg-n-ic{flex:none;width:10.4cqw;height:10.4cqw;border-radius:2.6cqw;object-fit:cover}
#authGate .qg-n-tx{min-width:0;flex:1;line-height:1.18;color:#0c1f4a;font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif}
#authGate .qg-n-top{display:flex;align-items:baseline;justify-content:space-between;gap:2cqw}
#authGate .qg-n-top b{font-size:3.7cqw;font-weight:700;letter-spacing:-.01em;white-space:nowrap}
#authGate .qg-n-top small{font-size:2.7cqw;font-weight:500;color:#6b768c}
#authGate .qg-n-tx span{display:block;margin-top:.5cqw;font-size:3.2cqw;font-weight:500;color:#2a3550;letter-spacing:-.005em}
@keyframes qgNotif{0%,6%{opacity:0;transform:translateY(-9cqw) scale(.94)}13%,78%{opacity:1;transform:none}86%,100%{opacity:0;transform:translateY(-4cqw) scale(.97)}}
@media (prefers-reduced-motion:reduce){#authGate .qg-notif{animation:none;opacity:1}}

/* v278: the developer choice in the account notice */
#authGate .qg-sheet .qg-dev{background:linear-gradient(135deg,#123a8f,#2f6bff);color:#fff;box-shadow:0 8px 20px #2f6bff55}
#authGate .qg-sheet .qg-dev:active{transform:scale(.985)}
