#gate{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:radial-gradient(1200px 600px at 10% -10%,#c9d6ff 0,transparent 60%),radial-gradient(900px 500px at 110% 110%,#ffd6e7 0,transparent 55%),#eef1f6;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:#14181f}
#gate[hidden]{display:none}
#gate .gcard{width:min(400px,100%);background:rgba(255,255,255,.8);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid rgba(255,255,255,.9);border-radius:24px;box-shadow:0 10px 30px rgba(30,40,70,.12);padding:28px 22px;display:flex;flex-direction:column;gap:12px}
#gate .glogo{display:flex;align-items:center;gap:12px;margin-bottom:6px}
#gate .glogo img{width:52px;height:52px;border-radius:14px}
#gate .glogo b{font-size:22px;display:block}
#gate .glogo small{color:rgba(40,48,64,.62)}
#gate .gbody{display:flex;flex-direction:column;gap:10px}
#gate .gbtn{min-height:48px;border-radius:14px;border:1px solid rgba(40,48,64,.15);background:#fff;font:inherit;font-size:16px;font-weight:600;color:#14181f;cursor:pointer}
#gate .gbtn.primary{background:#3b5bdb;color:#fff;border-color:#3b5bdb}
#gate .gform{display:flex;flex-direction:column;gap:8px}
#gate input{min-height:46px;border-radius:12px;border:1px solid rgba(40,48,64,.18);padding:0 14px;font:inherit;font-size:16px;background:#fff;color:#14181f}
#gate .gor{display:flex;align-items:center;gap:10px;color:rgba(40,48,64,.55);font-size:13px}
#gate .gor:before,#gate .gor:after{content:"";flex:1;height:1px;background:rgba(40,48,64,.15)}
#gate .glinks{display:flex;justify-content:space-between;gap:8px}
#gate .glink{background:none;border:0;color:#3b5bdb;font:inherit;font-size:14px;font-weight:600;padding:8px 0;cursor:pointer}
#gate .gmsg{margin:0;line-height:1.45}
#gate .gsmall{margin:0;font-size:14px;color:rgba(40,48,64,.7)}
@media (prefers-color-scheme: dark) and (max-width: 0px){
 #gate{background:radial-gradient(1200px 600px at 10% -10%,#1d2a5c 0,transparent 60%),radial-gradient(900px 500px at 110% 110%,#4a1d36 0,transparent 55%),#07090d;color:#f2f4f8}
 #gate .gcard{background:rgba(28,32,42,.78);border-color:rgba(255,255,255,.1)}
 #gate .glogo small,#gate .gsmall,#gate .gor{color:rgba(230,235,245,.6)}
 #gate .gbtn,#gate input{background:rgba(255,255,255,.06);color:#f2f4f8;border-color:rgba(255,255,255,.14)}
 #gate .gbtn.primary{background:#4c6ef5;border-color:#4c6ef5}
 #gate .glink{color:#7b96ff}
}

/* brand kit (Nov 7 2026): teal with the paw pattern, the stacked logo, "Team app" in Baloo 2, Pawlish Blue buttons */
#gate{flex-direction:column;gap:18px;background:#A0D0D4 url(pattern.svg) center/520px auto!important;color:#14181f}
#gate::before{content:"";position:absolute;inset:0;background:#A0D0D4;opacity:.75;pointer-events:none}
#gate>*{position:relative}
#gate .gbrand{display:flex;flex-direction:column;align-items:center;gap:6px}
#gate .gbrand img{width:min(210px,52vw);height:auto}
#gate .gbrand span{font-family:"Baloo 2",system-ui,sans-serif;font-weight:800;font-size:24px;color:#0058A9}
#gate .glogo{display:none}
#gate .gcard{background:#fff!important;border:0!important;box-shadow:0 10px 30px rgba(0,60,110,.18)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#gate .gbtn.primary{background:#0058A9!important;border-color:#0058A9!important}
#gate .glink{color:#0058A9}
@media (prefers-color-scheme: dark) and (max-width: 0px){#gate .gcard{background:#1c1c1e!important}#gate .gbtn.primary{background:#3B8BE0!important;border-color:#3B8BE0!important}#gate .glink{color:#79B8FA}}
