/* The public site's live pages, over the scene engine's styles (moood's engines/1/scene.css): a scene at its own address —
   the scene above, its name and its neighbours below, the page scrolls; a play (moood's play page) — the site's offer to
   sign in over it (play.js). */

/* a scene's page */
html:has(body.scene-page), body.scene-page { height: auto; overflow: auto; background: var(--bg); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-user-select: auto; user-select: auto; }
.scene-page a:not(.muted) { color: var(--ink); }
.scene-page .stage { position: relative; height: min(84vh, 62.5vw); min-height: 260px; background: #07080c; overflow: hidden; }
.scene-page .stage:fullscreen { height: 100%; }
.scene-page #scene { position: absolute; }
.scene-page .brand.over { position: absolute; left: 20px; top: 16px; z-index: 2; padding: 10px 12px; border-radius: 6px;
  background: rgba(17, 20, 24, 0.45); color: #E6E8EC; font-size: 22px; }
.scene-page .full { position: absolute; right: 20px; top: 16px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 6px;
  background: rgba(17, 20, 24, 0.45); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.scene-page .below { display: flex; align-items: center; gap: 8px 32px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 40px; }
.scene-page .below .name { flex-grow: 1; }
.scene-page .below h1 { font-size: 20px; }
.scene-page .below > div a, .scene-page .below > div button { font-size: 15px; padding: 10px 0; }
.scene-page .below > footer { flex-basis: 100%; margin-top: 64px; }
.scene-page .showcase { bottom: auto; top: calc(min(84vh, 62.5vw) - 64px); }

/* a scene alone, in the frame of a picture brought near (/<lang>/frame): only the scene */
body.frame .stage { height: 100vh; min-height: 0; }
body.frame .brand.over, body.frame .full, body.frame .below { display: none; }

/* a play: the offer to sign in (play.js) */
.offer { position: fixed; right: 24px; bottom: 24px; z-index: 5; width: min(340px, calc(100vw - 32px)); padding: 18px 20px;
  border-radius: 8px; background: #FFFFFF; color: #111418; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; display: flex; flex-direction: column; gap: 6px; }
.offer p { margin: 0; color: #6B7078; font-size: 15px; }
.offer .row { display: flex; gap: 20px; align-items: center; margin-top: 10px; }
.offer a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 6px; background: #111418;
  color: #FFFFFF; text-decoration: none; font-size: 15px; }
.offer button { min-height: 40px; border: 0; background: none; color: #6B7078; font: inherit; font-size: 15px; cursor: pointer; }
@media (max-width: 600px) { .offer { right: 16px; bottom: 16px; } }
