/* The demo shares site.css with the landing page. These rules only place demo controls. */
.demo-page { --theme-text: #f6f3ed; }
.demo-page header .text-button { text-decoration: none; }
.demo-page #demo-app > section { max-width: 1050px; margin-inline: auto; }
.demo-page .question-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.demo-page .clock { font-size: clamp(1.65rem, 4vw, 3rem); font-variant-numeric: tabular-nums; color: var(--lime); }
.demo-page .option { min-width: 0; }
.demo-page .option.correct { border: 3px solid var(--lime); opacity: 1; }
.demo-page .option.selected { outline: 2px solid var(--lime); }
.demo-page .feedback { padding: 1.2rem; border-top: 1px solid var(--line); }
.demo-page .feedback button { margin: .3rem; }
.demo-page .demo-mascot { display: block; width: min(100%, 390px); max-height: 37vh; margin: auto; object-fit: contain; }
.demo-page .demo-rule { white-space: pre-line; }
.demo-ranking { padding: 0; list-style: none; }
.demo-ranking li { display: flex; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.demo-ranking li strong { flex: 1; }
