/* Guest preview: header buttons for visitors and the "See more on ..." login prompt (see includes/guest.php) */
.topbar-sp{flex:1 1 auto}
.topbar-guest{display:flex;align-items:center;gap:8px;flex:none}
.cm-layout.cm-guest{grid-template-columns:minmax(0,1fr)}
.c-login{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid var(--line,#ccc)}
.c-login .muted{flex:1 1 220px}

html.gw-lock,html.gw-lock body{overflow:hidden}
.gw[hidden]{display:none}
.gw{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;
  background:rgba(255,255,255,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.gw-card{width:100%;max-width:400px;background:#fff;border-radius:12px;padding:30px 28px 28px;text-align:center;
  box-shadow:0 12px 40px rgba(0,0,0,.22),0 0 0 1px rgba(0,0,0,.05);margin-bottom:60px}
.gw-card h2{font-size:24px;margin:0 0 10px;color:var(--text,#1c1c1c)}
.gw-card p{margin:0 0 20px;color:var(--muted,#7c7c7c);line-height:1.5}
.gw-card .btn{display:block;padding:12px 16px;font-size:15px;font-weight:700;text-decoration:none}
.gw-or{display:flex;align-items:center;gap:12px;margin:14px 0;color:var(--muted,#7c7c7c);font-size:12px}
.gw-or:before,.gw-or:after{content:"";flex:1;height:1px;background:var(--line,#ccc)}
.gw-bar{position:fixed;left:0;right:0;bottom:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px;
  padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.92);border-top:1px solid var(--line,#ccc);text-align:center}
.gw-bar b{font-size:15px;color:var(--text,#1c1c1c)}
.gw-bar-btns{display:flex;gap:8px}
@media (max-width:600px){.gw-card{padding:24px 18px;margin-bottom:110px}.gw-bar b{font-size:13px}}
.topbar-guest .btn,.gw-bar .btn,.c-login .btn{padding:7px 16px;font-size:13px;font-weight:700;border-radius:999px;text-decoration:none;display:inline-flex;align-items:center;white-space:nowrap}
.gt-short{display:none}
@media (max-width:600px){.gt-long{display:none}.gt-short{display:inline}.topbar-guest .btn{padding:6px 12px}}
