:root[data-guest="true"] { --header: 106px; }
body > header { padding-bottom: 48px; box-sizing: border-box; }
#guest-notice {
  position: absolute; bottom: 7px; left: 2rem; right: 2rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
}
.guest-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .65rem;
  font: 12px/1.5 var(--sans); color: var(--dim);
}
.guest-status > span:first-child { color: var(--system); }
#guest-remaining { font-weight: 500; }
#guest-remaining::before { content: "·"; margin-right: .65rem; }
#guest-deadline:empty { display: none; }
header .guest-links { display: flex; flex-shrink: 0; gap: .5rem; margin-left: auto; }
header .guest-links a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .65rem 1.15rem; border: 1px solid var(--edge-strong);
  border-radius: 10px; background: var(--glass); color: var(--ink);
  font: 600 .875rem/1.2 var(--sans); text-decoration: none; white-space: nowrap;
}
header .guest-links a[href="/sign-in"] {
  background: var(--action); border-color: var(--ember-dim); color: var(--action-ink);
  box-shadow: inset 0 1px 0 #ffffff12;
}
header .guest-links a:hover { background: var(--hover); border-color: var(--ember); }
header .guest-links a[href="/sign-in"]:hover { background: var(--action-hover); }
header .guest-links a:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
/* Keep account navigation beside the wordmark on the landing and creation pages. */
:root[data-guest="true"]:has(body.at-home) { --header: 84px; }
body.at-home > header { padding-bottom: 0; }
body.at-home #where:empty, body.at-home #turnno:empty { display: none; }
body.at-home #guest-notice { display: contents; }
@media (max-width: 700px) {
  :root[data-guest="true"] { --header: 144px; }
  body > header { padding-bottom: 86px; }
  #guest-notice { left: 1rem; right: 1rem; }
  .guest-status { flex-basis: 100%; }
  header .guest-links a { padding: .65rem .9rem; }
  :root[data-guest="true"]:has(body.at-home) { --header: 108px; }
  body.at-home > header { padding: 12px 1rem; flex-wrap: wrap; gap: .5rem; }
  body.at-home > header .mark { align-self: auto; min-height: 44px; }
  body.at-home .guest-status { order: 3; }
  body.at-home #where, body.at-home #turnno { display: none; }
}
@media (max-width: 360px) {
  body.at-home > header .mark { gap: .35rem; font-size: .6rem; letter-spacing: .12em; }
  body.at-home .brand-seal { width: 24px; }
  header .guest-links a { padding-inline: .75rem; }
}
#guest-complete { margin: 1rem; padding: 1rem; border: 1px solid var(--edge-strong); border-radius: 12px; }
#guest-complete h2 { margin-top: 0; }
#guest-complete p { font: 14px/1.6 var(--sans); }
#guest-complete a { text-decoration: underline; }
/* The demo opens on worlds, including when this browser has played before. */
#start .world-nav, #landing .frontispiece, #landing .home-world-actions,
#continue, #others, #landing .group > h2, #catalogue .world-note {
  display: none !important;
}
#landing .masthead { display: block; padding: 2rem 0 0; }
#landing .thesis { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
#landing .pitch { max-width: 36rem; margin: .75rem 0 0; }
#landing .group { margin-top: 1.5rem; }
/* Name, an optional background and world choices fit on one character form. */
#creation .dream-progress, #creation .dream-sky,
#character-name > legend, #character-background > legend,
#character-name .character-fields > div:not(.character-wide),
#character-background .character-fields > div:not(:first-child) {
  display: none;
}
#creation { padding-top: 1.25rem; }
#creation .dream-stage { min-height: 0; padding: 1rem 0 0; }
#creation .dream-answer { width: 100%; max-width: 760px; }
#creation fieldset { margin-bottom: 1.25rem; }
#creation .character-fields { grid-template-columns: minmax(0, 1fr); }
#creation .options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: .25rem 0 0; }
#creation.dream-builder .option { min-height: 0; padding: 1rem; animation: none; transform: none; }
@media (max-width: 600px) {
  #creation .options { grid-template-columns: 1fr; }
}
#create-world-link, #create-world-home, #create-world-banner, #models,
#undo, #redo, #tab-notes, #save-essentials, #save-authors, #lb-draw,
#advance-submit, #mastery-choice, .world-like, .delete-button,
.run-delete, #entities .acts, #entities .fact.new, #add-entity {
  display: none !important;
}
