.page-play .site-footer{margin-top:24px}.play{max-width:1400px;margin:0 auto;padding:16px 16px 0}.play-bar{flex-wrap:wrap;align-items:center;gap:10px 16px;margin-bottom:12px;display:flex}.play-title{margin:0;font-size:1.4rem}.play-sample{color:var(--muted);align-items:center;gap:8px;font-size:.9rem;display:flex}.play-sample select{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:10px;max-width:60vw;padding:6px 10px}.play-actions{gap:8px;margin-left:auto;display:flex}.run-btn{min-width:112px}.play-main{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px;height:calc(100vh - 220px);min-height:420px;display:grid}.play-editor,.play-output{border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;min-height:0;display:flex;overflow:hidden}.play-editor{background:var(--code-bg)}.pane-label{color:var(--muted);border-bottom:1px solid var(--line);background:var(--bg-soft);justify-content:space-between;align-items:center;padding:6px 12px;font-size:.8rem;font-weight:700;display:flex}.pane-label small{font-weight:400}#editor{flex:1;min-height:0}#editor .cm-editor{background:var(--code-bg);height:100%;color:var(--code-ink);font-size:1.05rem}#editor .cm-scroller{font-family:var(--font-code);line-height:1.8}#editor .cm-gutters{background:var(--code-bg);border-right:1px solid var(--line);color:var(--muted)}#editor .cm-activeLine,#editor .cm-activeLineGutter{background:color-mix(in srgb, var(--royal) 7%, transparent)}#editor .cm-cursor{border-left:2px solid var(--royal)}#editor .cm-selectionBackground,#editor .cm-focused .cm-selectionBackground{background:color-mix(in srgb, var(--royal) 22%, transparent)!important}#editor .cm-focused{outline:none}#editor .cm-placeholder{color:var(--muted)}.play-output{color:#eceaff;background:#1b1e3c}.play-output .pane-label{color:#b4b7e0;background:#23264a;border-bottom-color:#2f3360}.clear-btn{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0 4px}.output-area{font-family:var(--font-code);flex:1;padding:12px 16px;font-size:1rem;line-height:1.75;overflow:auto}.out-line{white-space:pre-wrap;word-break:break-word}.out-prompt{color:#c6c9f2}.out-input{color:var(--gold)}.out-error{white-space:pre;background:#ff6f611a;border-left:4px solid #ff6f61;border-radius:0 8px 8px 0;margin:8px 0;padding:10px 12px;overflow-x:auto}.cm-decree-error{-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;text-underline-offset:3px;-webkit-text-decoration:underline wavy #ff6f61;text-decoration:underline wavy #ff6f61}.cm-decree-warning{-webkit-text-decoration:underline wavy var(--gold);text-decoration:underline wavy var(--gold);-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;text-underline-offset:3px}.cm-decree-error-line{background:#ff6f6114}.cm-decree-warning-line{background:#ffc46b12}.out-notes{border-left:3px solid var(--gold);color:#b9bce0;margin:0 0 8px;padding:2px 10px;font-size:.8rem;line-height:1.6}.out-notes-head{color:var(--gold);font-weight:700}.out-note{white-space:nowrap;text-overflow:ellipsis;cursor:help;overflow:hidden}.out-note.is-more{cursor:default;opacity:.8}.out-system{color:#8f93c4;margin-top:8px;font-size:.85rem}.output-area.is-running:after{content:"▍";color:var(--gold);animation:1s step-end infinite blink}@keyframes blink{50%{opacity:0}}.input-row{background:#23264a;border-top:1px solid #2f3360;padding:10px 12px}.input-prompt{color:#c6c9f2;margin-bottom:4px;font-size:.85rem;display:block}.input-line{gap:8px;display:flex}.input-line input{min-width:0;font:inherit;font-family:var(--font-code);border:2px solid var(--gold);color:#1f2236;background:#fff;border-radius:10px;flex:1;padding:8px 12px;font-size:1rem}.engine-status{color:var(--muted);margin:10px 2px 0;font-size:.85rem}.engine-status[data-kind=mini]:before{content:"🧪 "}.engine-status[data-kind=wasm]:before{content:"✅ "}@media (width<=820px){.play-main{grid-template-columns:1fr;height:auto}#editor{flex:none;height:46vh;min-height:260px}.output-area{min-height:200px;max-height:50vh}.play-actions{width:100%;margin-left:0}.play-actions .btn{flex:1}.pane-label small{display:none}}
