.playground{max-width:1440px;margin:0 auto;padding:2.25rem clamp(1rem,3vw,2.5rem) 2.5rem}.playground__head h1{letter-spacing:-.02em;margin:0;font-size:1.75rem}.playground__head p{color:var(--muted-foreground);max-width:46rem;margin:.35rem 0 0}.playground__toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;margin:1.25rem 0 .75rem;display:flex}.playground__field{color:var(--muted-foreground);align-items:center;gap:.5rem;font-size:.85rem;display:inline-flex}.pg-select{--menu-bg:#1d1f22;position:relative}html.light .pg-select{--menu-bg:#fff}.pg-select__trigger{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--finish-raised-bg);min-width:13.5rem;height:40px;box-shadow:var(--finish-raised);color:var(--foreground);cursor:pointer;align-items:center;gap:.6rem;padding:0 .7rem 0 .85rem;transition:border-color .14s,box-shadow .14s;display:inline-flex}.pg-select__trigger:hover{border-color:var(--border-hover)}.pg-select__trigger:focus-visible,.pg-select__trigger[aria-expanded=true]{border-color:color-mix(in srgb, var(--citrus) 55%, var(--border));box-shadow:var(--finish-raised), 0 0 0 2px color-mix(in srgb, var(--citrus) 35%, transparent);outline:none}.pg-select__value{text-align:left;font:.8rem/1 var(--font-mono);flex:1}.pg-select__chevron{color:var(--muted-foreground);flex-shrink:0;transition:transform .16s}.pg-select__trigger[aria-expanded=true] .pg-select__chevron{transform:rotate(180deg)}.pg-select__menu{z-index:30;background:color-mix(in srgb, var(--menu-bg) 82%, transparent);min-width:100%;max-height:min(22rem,60vh);box-shadow:var(--glass-edge), var(--shadow-panel);-webkit-backdrop-filter:blur(20px)saturate(1.4);border:0;border-radius:12px;outline:none;margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto}.pg-select__menu[hidden]{display:none}.pg-select__option{color:var(--muted-foreground);font:.8rem/1.3 var(--font-mono);white-space:nowrap;cursor:pointer;border-radius:8px;align-items:center;gap:.5rem;padding:.42rem .6rem .42rem .45rem;scroll-margin:4px;display:flex}.pg-select__option:hover,.pg-select__option[data-active]{background:var(--secondary);color:var(--foreground)}.pg-select__option[aria-selected=true]{color:var(--foreground)}.pg-select__check{color:var(--citrus);visibility:hidden;flex-shrink:0}.pg-select__option[aria-selected=true] .pg-select__check{visibility:visible}.playground__status{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:40ch;color:var(--muted-foreground);font-size:.8rem;overflow:hidden}.playground__status[data-kind=error]{color:var(--destructive)}.playground__status[data-kind=ok]{color:var(--success)}.playground__actions{align-items:center;gap:.5rem;margin-left:auto;display:flex}.playground__toggle{color:var(--muted-foreground);cursor:pointer;align-items:center;gap:.35rem;font-size:.85rem;display:inline-flex}.playground__toggle input{accent-color:var(--citrus)}.pg-btn{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--finish-raised-bg);height:2rem;box-shadow:var(--finish-raised);color:var(--foreground);font:inherit;cursor:pointer;padding:0 .85rem;font-size:.85rem;font-weight:560}.pg-btn:hover{border-color:var(--border-hover)}.pg-btn--primary{background:var(--finish-primary-bg);box-shadow:var(--finish-primary);color:var(--brand-contrast);border-color:#0000}.pg-btn--primary:hover{background:var(--finish-primary-hover-bg);border-color:#0000}.pg-link{color:var(--muted-foreground);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.8rem}.pg-link:hover{color:var(--foreground)}.playground__body{grid-template-columns:minmax(0,1fr) auto;gap:1rem;height:calc(100vh - 13rem);min-height:34rem;display:grid}.playground__editor{border:1px solid var(--line);border-radius:var(--radius-surface);background:var(--code-bg);min-width:0;box-shadow:var(--finish-inset);overflow:hidden}.playground__editor .cm-editor{height:100%;font-size:13px}.playground__editor .cm-scroller{font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);line-height:1.6}.playground__editor .cm-focused{outline:none}.playground__side{flex-direction:column;gap:.75rem;width:300.8px;min-height:0;display:flex}.playground__stage{justify-content:center;display:flex}.playground__stage .phone{--phone-scale:.72}.playground__output{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--finish-card-bg);min-height:6rem;box-shadow:var(--finish-flat);flex-direction:column;flex:1;display:flex;overflow:hidden}.playground__output-head{border-bottom:1px solid var(--line);letter-spacing:.06em;text-transform:uppercase;color:var(--faint);justify-content:space-between;align-items:center;padding:.35rem .75rem;font-size:.72rem;font-weight:600;display:flex}.playground__log{font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);flex:1;padding:.5rem .75rem;font-size:.75rem;line-height:1.5;overflow:auto}.playground__log pre{white-space:pre-wrap;word-break:break-word;font:inherit;margin:0 0 .4rem}.playground__log [data-level=error]{color:var(--destructive)}.playground__log [data-level=warn]{color:var(--warning)}.playground__empty{color:var(--muted-foreground);margin:0;font-family:inherit}.playground__note{color:var(--muted-foreground);margin:.75rem 0 0;font-size:.8rem}.playground .tok-keyword{color:var(--code-keyword)}.playground .tok-string,.playground .tok-string2{color:var(--code-string)}.playground .tok-comment{color:var(--code-comment);font-style:italic}.playground .tok-number,.playground .tok-bool,.playground .tok-atom{color:var(--code-number)}.playground .tok-typeName,.playground .tok-className{color:var(--code-type)}.playground .tok-propertyName{color:var(--code-property)}.playground .tok-variableName2,.playground .tok-definition{color:var(--code-fn)}.playground .tok-tagName{color:var(--code-keyword)}.playground .tok-attributeName{color:var(--code-type)}.playground .cm-gutters{background:var(--code-bg);border-right:1px solid var(--line);color:var(--faint)}.playground .cm-activeLine,.playground .cm-activeLineGutter{background:color-mix(in srgb, var(--foreground) 4%, transparent)}.playground .cm-content{caret-color:var(--citrus);color:var(--code-fg)}.playground .cm-selectionBackground,.playground .cm-focused .cm-selectionBackground{background:color-mix(in srgb, var(--selection) 30%, transparent)!important}@media (width<=900px){.playground__body{grid-template-columns:1fr;height:auto}.playground__editor{height:28rem}.playground__side{width:auto}.playground__output{min-height:10rem}.playground__actions{flex-wrap:wrap;margin-left:0}}
