/* YardIntel — entrance gate. Active only while the sign-in card is showing
   (html.yi-gate). Hides every piece of the system and turns the sign-in card
   into a full-screen entrance in The Workout Yard's black + yellow. Nothing in
   here applies once the staff member is signed in. */
html.yi-gate .yi-topbar,
html.yi-gate .topbar,
html.yi-gate .yi-burger{display:none !important}

html.yi-gate, html.yi-gate body{background:#0b0b0c !important;min-height:100%}
html.yi-gate body{margin:0;overflow:hidden !important}
html.yi-gate .yi-gate-stage,
html.yi-gate .yi-gate-stage *{box-sizing:border-box}

/* the stage: full viewport, soft gold glow at the top, subtle grid texture */
html.yi-gate .yi-gate-stage{
  position:fixed;inset:0;z-index:9000;overflow:auto;-webkit-overflow-scrolling:touch;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:28px 16px calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(244,196,48,.22), rgba(244,196,48,0) 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/100% 56px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/56px 100%,
    #0b0b0c;
  color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,system-ui,sans-serif;
}
html.yi-gate .yi-gate-head{display:flex;flex-direction:column;align-items:center;gap:14px;margin-bottom:26px;text-align:center}
html.yi-gate .yi-gate-mark{width:64px;height:64px;display:block;filter:drop-shadow(0 10px 30px rgba(244,196,48,.25))}
html.yi-gate .yi-gate-brand{font-size:22px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;line-height:1;color:#fff}
html.yi-gate .yi-gate-brand small{display:block;margin-top:9px;font-size:11px;font-weight:700;letter-spacing:.22em;color:#F4C430}
html.yi-gate .yi-gate-stripe{width:46px;height:4px;border-radius:4px;background:#F4C430}

/* the sign-in card itself (whatever the page called it) */
html.yi-gate #login{
  position:relative !important;margin:0 !important;width:min(420px,100%) !important;max-width:100% !important;
  background:#141416 !important;color:#fff !important;border:1px solid rgba(255,255,255,.08) !important;
  border-radius:22px !important;padding:28px 26px 24px !important;
  box-shadow:0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05) !important;
  overflow:hidden;
}
html.yi-gate #login::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#F4C430,#ffe27a 50%,#F4C430)}
html.yi-gate #login h1,html.yi-gate #login h2{color:#fff !important;font-size:21px !important;font-weight:800 !important;letter-spacing:-.01em;margin:0 0 4px !important}
html.yi-gate #login .sub{color:#9a9aa3 !important;font-size:13px !important}
html.yi-gate #login label{display:block;color:#b9b9c2 !important;font-size:11.5px !important;font-weight:700 !important;letter-spacing:.08em;text-transform:uppercase;margin:16px 0 6px !important}
html.yi-gate #login input{
  display:block;width:100% !important;background:#0b0b0c !important;color:#fff !important;
  border:1px solid rgba(255,255,255,.14) !important;border-radius:12px !important;padding:13px 14px !important;
  font-size:16px !important;outline:none;box-shadow:none !important;margin:0 !important;
}
html.yi-gate #login input:focus{border-color:#F4C430 !important;box-shadow:0 0 0 3px rgba(244,196,48,.22) !important}
html.yi-gate #login input::placeholder{color:#5e5e68}
html.yi-gate #login input:-webkit-autofill{-webkit-text-fill-color:#fff;box-shadow:0 0 0 1000px #0b0b0c inset !important}
html.yi-gate #login button,html.yi-gate #login .btn{
  display:block;width:100% !important;margin-top:18px !important;background:#F4C430 !important;color:#0b0b0c !important;
  border:0 !important;border-radius:12px !important;padding:14px 16px !important;font-size:15px !important;font-weight:900 !important;
  letter-spacing:.04em;text-transform:uppercase;cursor:pointer;box-shadow:0 10px 26px rgba(244,196,48,.25) !important;
}
html.yi-gate #login button:hover,html.yi-gate #login .btn:hover{background:#ffd34d !important}
html.yi-gate #login button:disabled{opacity:.6}
html.yi-gate #login .err{color:#ff8a80 !important;font-size:13px;margin-top:10px;min-height:0}
html.yi-gate #login a{color:#F4C430 !important;border-bottom-color:rgba(244,196,48,.4) !important;text-decoration:none}
html.yi-gate #login #fpMsg,html.yi-gate #login .muted{color:#9a9aa3 !important}
html.yi-gate .yi-gate-foot{margin-top:22px;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:#6f6f78;text-align:center}
html.yi-gate .yi-gate-foot b{color:#F4C430;font-weight:800}

@media (max-width:480px){
  html.yi-gate .yi-gate-stage{justify-content:flex-start;padding-top:max(40px,env(safe-area-inset-top))}
  html.yi-gate .yi-gate-mark{width:56px;height:56px}
  html.yi-gate .yi-gate-brand{font-size:19px}
  html.yi-gate #login{padding:24px 20px 20px !important;border-radius:20px !important}
}
