/* Dummy deck menu and result are separate screens, never extra board panels. */
#board[data-page='menu'] { justify-content: center; align-items: center; background: #151310; box-shadow: none; }
#board[data-page='menu'] .start { max-width: 46rem; padding: 2rem; border: 1px solid var(--line); }
#page-status { position: fixed; left: 1rem; bottom: 1rem; z-index: 65; margin: 0; color: #efc595; }
#page-status:empty { display: none; }
/* TESL Reborn sign-in, before the menu. */
#login { position: fixed; inset: 0; z-index: 70; display: grid; place-content: center; gap: 0.8rem; background: #151310; font-family: var(--serif); }
#login[hidden] { display: none; }
#login h1 { margin: 0 0 0.4rem; color: var(--gold); font-size: 1.6rem; font-weight: normal; text-align: center; }
#login label { display: grid; gap: 0.25rem; color: #c9bd9d; }
#login input { width: min(20rem, 80vw); padding: 0.45rem 0.6rem; border: 1px solid var(--line); background: #0b0907; color: #efe2c4; font: inherit; }
#login button { padding: 0.5rem; border: 1px solid var(--gold); background: #2a2118; color: #efc595; font: inherit; cursor: pointer; }
#login button:disabled { opacity: 0.5; cursor: wait; }
#login p { min-height: 1.2em; margin: 0; color: #efc595; text-align: center; }
#result { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; background: #050b0f; cursor: pointer; }
#result[hidden] { display: none; }
#result-stage { position: relative; isolation: isolate; container-type: inline-size; width: min(100vw, 177.777dvh); aspect-ratio: 16/9; }
#result-message { position: absolute; left: 1rem; right: 1rem; bottom: max(1.5rem, 4dvh); text-align: center; color: #c9bd9d; font-size: .85rem; }
.result-fallback { text-align: center; margin-top: 20%; font-family: var(--serif); }
.start { padding: 0.6rem 0; border-top: 1px solid var(--line); }
.start .headline { margin-bottom: 0.5rem; }
