/* The lobby (Word Krieg’s journal 013; specs/lobby.md): its menu's count, Browse's list, Join game's code and its introduction by link (Word Krieg’s journal 029), the sheets' clock, code and link, and Create game's time rows, as design/lobby*.html draw them. Structure only: every colour, font and radius is a token. */

/* The lobby's menu over the home's scene (Word Krieg’s journal 017, entry 06): the count of players online, the menu and Back under it on the rampart;
   the count in the column's width, centred on the region, as the home's content (entry 11; css/shell.css) */
.lobby__count { min-height: 1.4em; margin: 10px max(0px, 100% - 50vw - var(--size-column-wide) / 2) 0 max(0px, 50vw - var(--size-column-wide) / 2); text-align: center; color: var(--color-text-muted); font-size: var(--font-size-xs); }
.lobby__back { min-height: 48px; font-size: var(--font-size-m); }
/* Wider than a phone, the menu in two columns, Back across both under them, so the board keeps clear of the hills on a short window (Word Krieg’s journal 017, entry 11, Q34) */
.lobby__menu--wide { display: grid; grid-template-columns: 1fr 1fr; }
.lobby__menu--wide > .lobby__back { grid-column: 1 / -1; }

/* Browse: a line at the top when a join failed, the games, or none */
.lobby__notice { margin: 0; text-align: center; color: var(--color-danger); font-size: var(--font-size-s); font-weight: var(--font-weight-semibold); }
.lobby__empty { margin: 24px 0 0; text-align: center; color: var(--color-text-muted); }
.lobby__games .match-row__dot { display: none; }

/* A sheet drawn again in place: its content laid out as the sheet's own children */
.sheet__content { display: contents; }
.sheet .choices { margin: 4px 0; }
/* Quick match's cards on the setup's sunk holder (Word Krieg’s journal 017, entry 10), roomier */
.choice--sheet { padding: 16px; }
.choice--sheet .choice__title { font-size: var(--font-size-l); }
.choice--sheet:disabled { color: var(--color-disabled-text); cursor: default; }

/* The waiting sheet's clock; an invitation's code large and its link */
.sheet__clock { margin: 4px 0 0; text-align: center; font-size: var(--font-size-xl); font-weight: var(--font-weight-bold); font-variant-numeric: tabular-nums; }
.invite__code { margin: 6px 0 0; padding: 16px; border-radius: 0; clip-path: var(--shape-cut); background: var(--color-bg); text-align: center; font-family: var(--font-board); font-size: var(--font-size-xl); font-weight: var(--font-weight-bold); letter-spacing: 0.12em; user-select: all; }
.invite__link { margin: 0; text-align: center; color: var(--color-text-muted); font-size: var(--font-size-xs); overflow-wrap: anywhere; user-select: all; }
.invite__copied[hidden] { display: none; }

/* Join game: the lead, the code's six boxes over the field that takes the typing, the line under them */
.page__lead { margin: 24px 0 8px; text-align: center; color: var(--color-text-muted); }
.code { position: relative; display: flex; justify-content: center; gap: 6px; }
/* Each box with the stones' stepped corner on the sky (Word Krieg’s journal 017, entry 06, Q16); ringed, the ring's colour shows round a face cut the same, 2 px in */
.code__char { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; width: 44px; min-height: 56px; border-radius: 0; background: var(--color-surface); clip-path: var(--shape-cut); font-family: var(--font-board); font-size: var(--font-size-l); font-weight: var(--font-weight-bold); }
.code__char--next { background: var(--color-accent); }
.code__char--refused { background: var(--color-danger); }
.code__char--next::before, .code__char--refused::before { content: ""; position: absolute; inset: 2px; z-index: -1; background: var(--color-surface); clip-path: var(--shape-cut); }
.code__gap { width: 10px; }
.code__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; font-size: var(--font-size-l); }
.code__note { margin: 10px 0 0; text-align: center; color: var(--color-text-muted); font-size: var(--font-size-s); }
.code__note--refused { color: var(--color-danger); font-weight: var(--font-weight-semibold); }

/* The invitation, as the setup's summary headed by the inviter */
.proposal--invitation .proposal__title { text-transform: none; letter-spacing: 0; color: var(--color-text); font-size: var(--font-size-m); }
.proposal__tag { color: var(--color-text-muted); font-weight: var(--font-weight-regular); }

/* The invitation's introduction (Word Krieg’s journal 029), on Join game reached by its link, on the web, under the invitation: the pitch, How to play and the stores of the visitor's device, as design/lobby_join_link*.html draw it; on a computer each store's QR code in the pill's sunk holder, as the website's */
.intro { flex: none; display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.intro__pitch { margin: 0; text-align: center; text-wrap: balance; color: var(--color-text-muted); font-weight: var(--font-weight-semibold); line-height: 1.4; text-shadow: 1px 1px 0 var(--color-icon-shade); }
.intro__sentence { display: block; }
.intro__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.intro__links--single { grid-template-columns: 1fr; }
.intro .menu-button { min-height: 56px; font-size: var(--font-size-m); text-decoration: none; }
.intro__qr { display: flex; align-items: center; gap: 16px; }
.intro__qr-box { flex: none; padding: 9px; border-style: solid; border-width: 0; border-image: var(--frame-pill-holder); image-rendering: pixelated; }
.intro__qr-code { display: block; width: 87px; height: 87px; fill: var(--color-text); shape-rendering: crispEdges; }
.intro__qr-caption { font-size: var(--font-size-s); font-weight: var(--font-weight-bold); text-shadow: 1px 1px 0 var(--color-icon-shade); }
/* Two stores or more (a computer): How to play on a line of its own, then a column per store, its button over its QR code and caption */
.intro__stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.intro__store { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.intro__store .menu-button { align-self: stretch; }
.intro__store .intro__qr-caption { text-align: center; font-size: var(--font-size-xs); }

/* Create game's time: two labelled rows, Live and Daily (Word Krieg’s journal 023) */
.field__group { color: var(--color-text-muted); font-size: var(--font-size-xs); }
