/* The Common - a park. All black, white text, hand-set type.
   Book first: serif for the words, monospace only for the plates. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { background: #000; color: #f4f1ea; margin: 0;
       font-family: Georgia, 'Iowan Old Style', 'Times New Roman', serif; }
main { max-width: 44em; margin: 0 auto; padding: 3.5em 1.4em 5em; }
h1 { font-size: 2.1em; font-weight: normal; letter-spacing: .35em;
     text-align: center; margin: 0 0 .2em; }
.sub { text-align: center; color: #b9b4a8; font-style: italic;
       margin: 0 0 3em; }
h2 { font-size: 1em; font-weight: normal; letter-spacing: .25em;
     text-transform: uppercase; color: #b9b4a8;
     border-bottom: 1px solid #333; padding-bottom: .4em;
     margin: 2.6em 0 1em; }
nav.park-nav { text-align: center; margin: 0 0 2.5em; font-size: .95em; }
nav.park-nav a { color: #b9b4a8; text-decoration: none; margin: 0 .7em; }
nav.park-nav a:hover { color: #f4f1ea; text-decoration: underline; }
pre.scene { font-family: 'Courier New', ui-monospace, monospace;
            font-size: .82em; line-height: 1.35; white-space: pre;
            overflow-x: auto; margin: 0 auto; width: fit-content;
            max-width: 100%; }
.status { text-align: center; font-size: 1.15em; margin: 2em 0 0; }
.his-line { text-align: center; font-style: italic; font-size: 1.05em;
            margin: 1.2em auto 0; max-width: 32em; }
.asof { text-align: center; color: #777; font-size: .85em; margin: .8em 0 0; }
.blurb { text-align: center; color: #b9b4a8; font-style: italic;
         margin: .5em 0 0; }
ul { list-style: none; padding: 0; margin: 0; }
li { margin: .45em 0; }
li::before { content: "-  "; color: #777; }
a { color: #f4f1ea; }
.here { color: #b9b4a8; font-style: italic; }
.diary-entry { margin: .7em 0; }
.diary-entry .when { color: #777; font-size: .85em; margin-right: .8em; }
.cards { display: flex; flex-wrap: wrap; gap: 1em; margin: 1em 0; }
.card { border: 1px solid #444; padding: 1em 1.2em; width: 19em;
        min-height: 9em; }
.card .front { font-style: italic; color: #b9b4a8; margin: 0 0 .8em; }
.card p { margin: .3em 0; }
.card .from { color: #777; font-size: .85em; margin-top: .8em; }
form { margin: 1.2em 0; }
label { display: block; margin: 1em 0 .3em; color: #b9b4a8; }
textarea, input[type="text"], select { background: #0a0a0a; color: #f4f1ea;
  border: 1px solid #444; font-family: inherit; font-size: 1em;
  padding: .5em; width: 100%; }
textarea.doodle { font-family: 'Courier New', ui-monospace, monospace; }
button { background: #f4f1ea; color: #000; border: 0; padding: .6em 1.4em;
         font-family: inherit; font-size: 1em; cursor: pointer; margin-top: 1em; }
.note { color: #b9b4a8; font-style: italic; }
.guide-entry { margin: 2.2em 0; }
.guide-entry h3 { font-weight: normal; font-size: 1.3em;
                  margin: 0 0 .25em; }
.guide-meta { color: #777; font-style: italic; font-size: .92em;
              margin: 0 0 .6em; }
.guide-belief { font-style: italic; font-size: 1.08em;
                margin: .3em 0; max-width: 34em; }
.count { color: #777; font-size: .85em; }
.colophon { text-align: center; color: #777; margin-top: 4em;
            font-size: .9em; letter-spacing: .2em; }
/* The living park map: one continuous ASCII plane in a
   both-axes scrollable viewport. Real text in a <pre>, tap
   zones laid over it by the page's small script. The page
   itself never scrolls sideways - only the viewport does. */
.park-viewport { position: relative; overflow: auto;
                 max-height: 74vh; border: 1px solid #333;
                 background: #000; margin: 1.5em 0 0;
                 -webkit-overflow-scrolling: touch;
                 overscroll-behavior: contain; }
.park-plane-wrap { position: relative; width: fit-content; }
pre.park-plane { font-family: 'Courier New', ui-monospace, monospace;
                 font-size: 11px; line-height: 14px;
                 white-space: pre; margin: 0;
                 /* standing room around the park, in black:
                    enough that wherever he is can always be
                    brought to the middle of the viewport (the
                    script reads this padding as its pad) */
                 padding: 40vh 40vw; }
.zone { position: absolute; display: block; cursor: pointer; }
.zone:hover, .zone:focus-visible { outline: 1px dashed #777;
                                   outline-offset: -1px; }
.him { color: #fff; }
.him.pulse { animation: himpulse 1.2s ease-in-out 3; }
@keyframes himpulse { 0%, 100% { background: transparent; }
                      50% { background: #3a3a3a; } }
.park-plate { text-align: center; margin: 1.4em 0 0; }
.park-plate .status { margin-top: 0; }
.park-plate .note { margin-top: 1em; }

/* The immersive pass: the experience pages (the park, right
   now, the places) are bare - no nav, no colophon, the world
   fills the screen and the chrome is a whisper. The books keep
   the styles above; these are theirs. */
body.bare main.wide { max-width: none; margin: 0; padding: 0; }
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 30;
          display: flex; justify-content: space-between;
          align-items: flex-start; padding: .8em 1em;
          pointer-events: none; }
.topbar > * { pointer-events: auto; }
.wordmark { color: #b9b4a8; text-decoration: none;
            letter-spacing: .25em; font-size: .85em;
            background: rgba(0,0,0,.55); padding: .25em .5em; }
.wordmark:hover { color: #f4f1ea; }
details.menu { position: relative; text-align: right; }
details.menu summary { color: #b9b4a8; cursor: pointer;
                       letter-spacing: .25em; font-size: .85em;
                       list-style: none;
                       background: rgba(0,0,0,.55);
                       padding: .25em .5em; }
details.menu summary::-webkit-details-marker { display: none; }
details.menu summary:hover { color: #f4f1ea; }
details.menu nav { background: #050505; border: 1px solid #333;
                   padding: .8em 1em; margin-top: .4em;
                   text-align: left; }
details.menu nav a { display: block; color: #b9b4a8;
                     text-decoration: none; margin: .45em 0;
                     font-size: .95em; white-space: nowrap; }
details.menu nav a:hover { color: #f4f1ea; }
.menu-places { background: #050505; border: 1px solid #333;
               border-top: 0; padding: .4em 1em .8em;
               text-align: left; max-height: 46vh;
               overflow-y: auto; }
.menu-places a { display: block; color: #777;
                 text-decoration: none; margin: .35em 0;
                 font-size: .9em; white-space: nowrap; }
.menu-places a:hover { color: #f4f1ea; }
/* place pages and right-now are not full-stage; their top bar
   stands in flow, quiet, above the scene */
body.bare .topbar { position: relative; }
body.bare .stage .topbar { position: absolute; }
/* the stage: the park, edge to edge */
.stage { position: relative; height: 100vh; height: 100dvh;
         background: #000; }
.stage-viewport { height: 100%; max-height: none; border: 0;
                  margin: 0; }
.thought { position: absolute; z-index: 20; left: 50%;
           transform: translateX(-50%); bottom: 2.6em;
           max-width: 92vw; text-align: center;
           font-style: italic; font-size: 1.02em;
           background: rgba(0,0,0,.55); padding: .25em .7em;
           margin: 0; display: -webkit-box;
           -webkit-line-clamp: 2; -webkit-box-orient: vertical;
           overflow: hidden; }
.asof-corner { position: absolute; z-index: 20; left: 1em;
               bottom: .8em; color: #666; font-size: .78em;
               margin: 0; background: rgba(0,0,0,.55);
               padding: .2em .4em; }
.stage .find-him { position: absolute; z-index: 20; right: 1em;
                   bottom: .55em; background: rgba(0,0,0,.55);
                   color: #b9b4a8; border: 1px solid #444;
                   padding: .35em .9em; margin: 0;
                   font-size: .85em; letter-spacing: .12em; }
.stage .find-him:hover { color: #f4f1ea; border-color: #777; }
/* frames: pre-rendered stills, stacked; the script shows one */
.frames .frame { display: none; }
.frames .frame.on { display: block; }
/* place names, earned: a small tag that appears when a zone
   is hovered, focused, or first-tapped on a touch screen */
.zone-tag { position: absolute; left: 50%; top: -1.9em;
            transform: translateX(-50%); z-index: 5;
            background: #000; border: 1px solid #444;
            color: #f4f1ea; font-family: Georgia, serif;
            font-size: 13px; letter-spacing: .08em;
            padding: .18em .55em; white-space: nowrap;
            opacity: 0; pointer-events: none;
            transition: opacity .18s ease; }
.zone:hover .zone-tag, .zone:focus-visible .zone-tag,
.zone.tagged .zone-tag { opacity: 1; }
/* the places as experiences */
.place-name { text-align: center; letter-spacing: .32em;
              text-transform: uppercase; color: #b9b4a8;
              font-size: .92em; margin: 1.4em 0 .8em; }
.scene-stage { position: relative; width: fit-content;
               max-width: 100%; margin: 0 auto; }
pre.scene-big { font-size: clamp(11px, 2.7vw, 17px);
                line-height: 1.35; }
pre.scene-now { font-size: clamp(10px, 3.1vw, 26px);
                line-height: 1.32; }
.glint { position: absolute; z-index: 6; background: none;
         border: 0; margin: 0; padding: 0; color: #fff;
         font-family: 'Courier New', ui-monospace, monospace;
         cursor: pointer; line-height: 1;
         animation: glinttwinkle 2.8s ease-in-out infinite; }
@keyframes glinttwinkle { 0%, 100% { opacity: .25; }
                          50% { opacity: 1; } }
.detail-line { text-align: center; font-style: italic;
               min-height: 1.5em; margin: .9em auto 0;
               max-width: 34em; padding: 0 1em; }
.facts { max-width: 44em; margin: 0 auto;
         padding: 0 1.4em 4em; }
.note-center { text-align: center; color: #b9b4a8;
               font-style: italic; margin: .5em auto 0; }
@media (prefers-reduced-motion: reduce) {
  .glint, .him.pulse { animation: none; }
  .zone-tag { transition: none; }
}
