/* /play/<game>/ only. Colours come from the theme's tokens (DesignSystem.md § Tokens); nothing defines its own. */
.play-hero .lede { font-size: 20px; color: var(--dim); max-width: 680px; margin: 0 0 28px; }
.play-keys { font-family: var(--mono); font-size: 14px; color: var(--dim); margin: 0 0 24px; }
.play-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.play-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.play-head h2 { font-size: 28px; margin: 0 0 10px; }
.play-score { font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--green); }
.play-note { color: var(--dim); margin: 0 0 18px; min-height: 3em; }
.play-frame { aspect-ratio: 16 / 10; background: var(--ink); border: 1px solid var(--edge); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.play-prompt { font-family: var(--mono); font-size: 15px; line-height: 1.6; color: var(--violet); }
.play-fine { font-size: 14px; color: var(--dim); }
/* The game itself: a layer over the whole window, full screen where the browser allows it. */
.play-layer { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--ink); }
.play-layer[hidden] { display: none; }
.play-bar { display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--panel); border-bottom: 1px solid var(--edge); }
.play-layer-name { font-family: var(--mono); font-size: 15px; color: var(--text); margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.play-bar .btn { font-size: 14px; padding: 8px 14px; }
.play-layer-game { flex: 1; min-height: 0; }
.play-layer-game iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--ink); }
html.play-open { overflow: hidden; }
@media (max-width: 760px) { .play-grid { grid-template-columns: 1fr; } }
