.playground{width:100%}.playground-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1.25rem;display:flex}.toolbar-group{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.playground-toolbar button{font:inherit;border-radius:var(--radius);cursor:pointer;background:#fff;border:1px solid #ccc;padding:.6rem 1rem;font-size:.9rem;transition:background .15s,border-color .15s,transform .1s}.playground-toolbar button:hover{background:#f0f0f0;border-color:#999}.playground-toolbar button:active{transform:translateY(1px)}.playground-toolbar button:disabled{cursor:not-allowed;opacity:.6}.playground-toolbar .primary-button{color:#fff;background:#2e7d32;border-color:#2e7d32;font-weight:600}.playground-toolbar .primary-button:hover{background:#256428;border-color:#256428}.playground-toolbar .primary-button.is-stop{background:#c62828;border-color:#c62828}.playground-toolbar .primary-button.is-stop:hover{background:#a31f1f;border-color:#a31f1f}.shortcuts-hint{color:#666;flex-wrap:wrap;align-items:center;font-size:.8rem;display:flex}kbd{background:#f7f7f7;border:1px solid #ccc;border-bottom-width:2px;border-radius:4px;padding:.1rem .4rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.75rem}.examples-section{margin-bottom:1.5rem}.examples-title{margin:0 0 .6rem;font-size:1rem}.examples-row{gap:.6rem;padding-bottom:.4rem;display:flex;overflow-x:auto}.example-chip{font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:999px;flex:none;padding:.5rem .9rem;font-size:.85rem;transition:border-color .15s,color .15s,background .15s}.example-chip:hover{color:#306998;border-color:#306998}.example-chip.active{color:#fff;background:#306998;border-color:#306998}.example-description{border-radius:0 var(--radius) var(--radius) 0;background:#eef4fb;border-left:4px solid #306998;margin:.75rem 0 0;padding:.75rem 1rem;font-size:.9rem}.playground-grid{grid-template-columns:1.3fr 1fr;gap:1rem;display:grid}.editor-panel,.output-panel{flex-direction:column;display:flex}.panel-label{margin-bottom:.5rem;font-weight:600}.output-panel-header{justify-content:space-between;align-items:baseline;margin-bottom:.5rem;display:flex}.run-status{color:#666;align-items:center;font-size:.85rem;display:inline-flex}.status-dot{background:#999;border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.status-dot.running{background:#f9a825;animation:1s ease-in-out infinite pulse}.status-dot.done{background:#2e7d32}.status-dot.error{background:#c62828}@keyframes pulse{0%,to{opacity:1}50%{opacity:.35}}.editor-container{border-radius:var(--radius);border:1px solid #ccc;transition:border-color .15s,box-shadow .15s;overflow:hidden;box-shadow:0 1px 3px #0000000f}.editor-container:focus-within{border-color:#306998;box-shadow:0 0 0 3px #30699826}.editor-container .cm-editor{height:100%;min-height:380px;font-size:.95rem}.editor-container .cm-scroller{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.editor-container .cm-editor.cm-focused{outline:none}.output-console{border-radius:var(--radius);white-space:pre-wrap;background:#fafafa;border:1px solid #ddd;flex:1;min-height:380px;padding:1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9rem;line-height:1.6;overflow:auto;box-shadow:0 1px 3px #0000000f}.output-line-error{color:#c62828}.inline-input{font:inherit;border:1px solid #999;border-radius:4px;min-width:120px;padding:.1rem .35rem}.playground-note{color:#666;margin-top:1.25rem;font-size:.85rem}.about-section{border-top:1px solid #eee;margin-top:2.5rem;padding-top:1.75rem}.about-section h2{margin:0 0 .75rem;font-size:1.1rem}.about-section p{color:#444;margin:0 0 .75rem;font-size:.92rem}.about-section p:last-child{margin-bottom:0}@media (width<=800px){.playground-grid{grid-template-columns:1fr}.editor-container .cm-editor,.output-console{min-height:280px}.playground-toolbar{flex-direction:column;align-items:stretch}.toolbar-group{justify-content:space-between}}
