/* Public demo page. Loaded after style.css, which is shared with the private app. */

/* The app layout keeps the page fixed. The demo is a normal scrolling page. */
html, body { height: auto; overflow: auto; }
body.demo { display: block; min-height: 100dvh; }

.demo-main { display: block; padding: 4rem 1.5rem 3rem; }
.demo .hello { font-size: 3.5rem; }
.demo .subtitle { min-height: 0; }

.consent { margin-top: 2.5rem; }
.consent h2, #results h2 { font-size: 1.6rem; }
.conditions { margin-top: 1rem; padding-left: 1.1rem; font-size: 15px; line-height: 1.6; }
.conditions li + li { margin-top: 0.5rem; }
.warning {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #f3ece9;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.check { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 1.25rem; font-size: 15px; line-height: 1.55; cursor: pointer; }
.check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--ink); }

.demo-recorder { margin-top: 2rem; }
.demo-recorder .timer { margin-top: 0; }

#results { margin-top: 3rem; }
.results { list-style: none; margin-top: 0.5rem; }
.result { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.result:last-child { border-bottom: 1px solid var(--line); }
.result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.result-title { font-weight: 500; }
.result-actions { display: flex; gap: 1rem; font-size: 15px; }
.result-actions button { border: 0; background: none; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.result .player { width: 100%; margin-top: 0.75rem; }
.result .turn:first-of-type { margin-top: 0.75rem; }

.demo-footer { margin-top: 3rem; }
