/* Demo page only. */
.narrow { max-width: 680px; }
.demo-request { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.demo-request h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); }
.demo-includes ul { margin: 0 0 16px; padding: 0; list-style: none; }
.demo-includes li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--line); }
.demo-includes li::before { content: '✓'; position: absolute; left: 2px; color: var(--earth); font-weight: 800; }
@media (max-width: 820px) { .demo-request { grid-template-columns: 1fr; } }
.play-bar .btn { background: #1b2130; color: #e9ecf3; border-color: #2c3448; }
.play-bar .btn:hover { background: #232a3c; }
.btn.small { min-height: 38px; padding: 6px 14px; font-size: 0.9rem; border-radius: 10px; }

/* While playing, the game takes the whole viewport below a slim bar. */
body.playing .site-head, body.playing .site-foot { display: none; }
.demo-play { display: flex; flex-direction: column; height: 100dvh; background: #0b0e14; }
.play-bar { display: flex; align-items: center; gap: 10px; padding: 6px max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left)); background: #12151c; border-bottom: 1px solid #262d3d; color: #e9ecf3; }
.play-title { font-weight: 800; }
.timer { margin-right: auto; padding: 4px 10px; border-radius: 999px; background: #1b2130; font-variant-numeric: tabular-nums; }
.timer.low { background: #5a1d14; color: #ffd2c7; }
.frame-box { position: relative; flex: 1; min-height: 0; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.frame-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #12151c; }
/* Faint, tiled, unclickable mark of whose session this is: discourages screen-recorded copies. */
.watermark { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; opacity: 0.05; color: #fff; font: 700 14px/1 system-ui, sans-serif; display: flex; flex-wrap: wrap; align-content: space-around; justify-content: space-around; transform: rotate(-18deg) scale(1.4); }
.watermark span { padding: 36px 28px; white-space: nowrap; }
