/* The signed-out house (tpl/public.php, owner 2026-11-13): every page a visitor sees has the same doors at the top
   right and the same quiet line at the foot, in the front door's own type. Loaded by tpl/head.php for every
   signed-out page. Colours are the existing tokens; nothing here is orange (the orange stays the page's one action).
   .so-doors  the doors: How it plays, Hall of Fame, Log in, Sign up. The look is the front door's .fd-nav
              (assets/empyrez.css); this adds the lit page and the two frames that carry it besides the front door.
   .so-top    the poster's top row (tpl/poster.php): the wordmark, the round under it, the doors on the right.
   .so-foot   the quiet line, then the copyright line, last. */

/* The doors. The page it is on reads full bone with a thin underline in its own colour. */
body.ez .so-doors a[aria-current="page"] { color: var(--ez-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* The poster (Forgot, New password, Recover, Welcome back, Unsubscribe): the wordmark and doors in the front door's
   places and sizes, so leaving the front door for one of them feels like the same house. */
.so-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; padding-top: 6px; }
.so-top__mark { min-width: 0; }
body.ez .so-top .ld-mark .ez-mark { font-size: clamp(44px, 4.4vw, 64px); line-height: .9; }
body.ez .so-top .so-doors a { text-shadow: 0 1px 14px rgb(11 15 18 / .9); }
.so-top .so-doors { justify-content: flex-end; }

/* The paper pages a visitor reads (Hall of Fame, Leader boards, Support, Terms, Privacy): the doors beside the small
   wordmark, in the bar's height. */
.ez-top .so-doors--paper { margin-left: auto; padding-top: 0; justify-content: flex-end; }
body.ez .ez-top .so-doors--paper a { color: var(--ez-text-2); }
body.ez .ez-top .so-doors--paper a:hover, body.ez .ez-top .so-doors--paper a[aria-current="page"] { color: var(--ez-text); }

/* The quiet line and the copyright under it, the same on the front door, the poster and the paper pages. */
.so-foot { border-top: 1px solid rgb(236 229 211 / .12); padding: 4px 0 18px; }
.so-foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; }
body.ez .so-foot__row a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border-bottom: 0; color: var(--ez-text-2);
  font: 400 13px/1.2 var(--ez-body); font-stretch: normal; letter-spacing: normal; text-transform: none; white-space: nowrap; text-decoration: none; }   /* the same line on every frame: undoes the signed-in footer's labels (.ez-foot a) on the paper pages */
body.ez .so-foot__row a:hover { color: var(--ez-text); text-decoration: underline; text-underline-offset: 4px; }
body.ez .so-foot__row a[aria-current="page"] { color: var(--ez-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.so-foot .ld-more__readup { margin-left: auto; }   /* a signed-in player's "Read up" on a poster page closes the line */
body.ez .so-foot .ez-copy { margin: 2px 0 0; }

/* On the paper pages the line takes the footer's place under the page column (tpl/foot.php). */
body.ez .ez-foot--public { display: block; border-top: 0; padding: 0 0 30px; }
.ez-foot--public .so-foot { border-top: 2px solid var(--ez-rule); }

@media (max-width: 767px) {
  body.ez .so-doors { gap: 0 18px; }
  body.ez .so-doors a { font-size: 14px; }
  .so-top .so-doors { justify-content: flex-start; width: 100%; }
  body.ez .so-top .ld-mark .ez-mark { font-size: clamp(40px, 12vw, 56px); }
  body.ez--public .ez-top { flex-wrap: wrap; row-gap: 0; }
  .ez-top .so-doors--paper { margin-left: 0; width: 100%; justify-content: flex-start; }
  body.ez .ez-foot--public { padding-bottom: 28px; }
  .so-foot__row { gap: 0 22px; }
  .so-foot .ld-more__readup { margin-left: 0; }
}
