/* JustGamma top menu bar: one design, identical on every page.
   Signed-in / signed-out items are chosen by html[data-nav] (set before first
   paint from a display hint, then confirmed by /api/auth/me), and both sets have
   the same button sizes, so nothing moves when you log in or change page. */
.jg-nav{position:sticky;top:0;z-index:50;height:70px;display:flex;align-items:center;gap:0;
  padding:0 max(24px,calc((100vw - 1450px)/2));border-bottom:1px solid #142734;background:#04090de8;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-sizing:border-box;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;line-height:1}
.jg-nav *{box-sizing:border-box}
.jg-logo{font-size:20px;font-weight:950;letter-spacing:.8px;white-space:nowrap;color:#f3f8fc;text-decoration:none}
.jg-logo b{color:#55b8ff}
.jg-links{display:flex;gap:7px;margin-left:38px}
.jg-links a{color:#9db0bd;text-decoration:none;font-size:13px;font-weight:850;padding:10px 14px;border-radius:8px;white-space:nowrap}
.jg-links a:hover,.jg-links a[aria-current="page"]{background:#0d1b25;color:#fff}
.jg-actions{margin-left:auto;display:flex;gap:9px;align-items:center}
.jg-btn{display:inline-flex;align-items:center;justify-content:center;min-width:104px;height:38px;padding:0 14px;
  border:1px solid #284354;background:#09141c;color:#dbe8ef;border-radius:8px;font:inherit;font-size:12px;font-weight:850;
  text-decoration:none;cursor:pointer;white-space:nowrap}
.jg-btn:hover{border-color:#3b6077;color:#fff}
.jg-btn.primary{background:#55b8ff;color:#031018;border-color:#55b8ff}
.jg-btn[aria-current="page"]{border-color:#55b8ff}
/* which items show */
html:not([data-nav="in"]):not([data-nav="admin"]) .jg-in,
html[data-nav="in"] .jg-out, html[data-nav="admin"] .jg-out,
html:not([data-nav="admin"]) .jg-admin{display:none!important}
@media(max-width:760px){
  .jg-nav{height:auto;min-height:70px;flex-wrap:wrap;padding:12px 16px;row-gap:10px}
  .jg-links{order:3;width:100%;margin-left:0;overflow-x:auto}
  .jg-links a{padding:8px 11px}
  .jg-btn{min-width:88px;height:34px}
}
