.pg-wrap{max-width:1640px;margin:0 auto;padding:1.25rem 1rem 3rem}@media(min-width:640px){.pg-wrap{padding-inline:1.5rem}}.pg-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem}.pg-tools{display:flex;flex-wrap:wrap;gap:.45rem}.pg-btn,.pg-ex select{min-height:40px;padding:0 .85rem;border-radius:10px;border:1px solid var(--border);background:var(--bg);color:var(--text);font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}.pg-btn:hover,.pg-ex select:hover{border-color:var(--accent)}.pg-run{border-color:transparent;background:linear-gradient(135deg,#0078d4,#00a3c4);color:#fff;padding-inline:1.2rem}.pg-run[data-busy]{background:#b42318}.pg-ide{display:grid;gap:.75rem;margin-top:1rem}@media(min-width:1100px){.pg-ide{grid-template-columns:11rem minmax(0,1.35fr) minmax(0,1fr);height:calc(100dvh - var(--header-h) - 9rem);min-height:30rem}}.pg-files,.pg-editor,.pg-side{min-width:0;min-height:0;border-radius:14px;border:1px solid #1e2b42;background:#0b1424;color:#e6edf3;overflow:hidden}.pg-files{padding:.7rem;display:flex;flex-direction:column;gap:.4rem}.pg-files ul{display:flex;flex-direction:column;gap:.2rem;margin:0;padding:0;list-style:none}@media(max-width:1099.98px){.pg-files{flex-direction:row;flex-wrap:wrap;align-items:center}.pg-files ul{flex-direction:row;flex-wrap:wrap}.pg-files .pg-label{margin:0}}.pg-files li{display:flex;align-items:center;gap:.1rem}.pg-file{flex:1;padding:.4rem .6rem;border-radius:8px;color:#b8c6db;text-align:left;font:.85rem var(--font-mono, ui-monospace, monospace)}.pg-file:hover{background:#13223b}.pg-file[aria-current]{background:#0078d4;color:#fff}.pg-del{padding:.2rem .45rem;color:#6f819b;font-size:.75rem;border-radius:6px}.pg-del:hover{color:#ff9b9b}.pg-add{padding:.4rem .6rem;border-radius:8px;border:1px dashed #2a3b58;color:#8ea2bd;font-size:.82rem;text-align:left}.pg-add:hover{border-color:#3fb8ff;color:#fff}.pg-label{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin:0 0 .35rem;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8ea2bd}.pg-label span{text-transform:none;letter-spacing:0;font-weight:400}.pg-editor{display:flex;flex-direction:column}.pg-tab{display:flex;align-items:center;gap:.5rem;padding:.55rem .8rem;border-bottom:1px solid #1e2b42;background:#0f1b30;font:600 .82rem var(--font-mono, ui-monospace, monospace);color:#d6e2f0}.pg-dot{width:.55rem;height:.55rem;border-radius:999px;background:#3fb8ff;box-shadow:0 0 8px #3fb8ff}.pg-status{margin-left:auto;font:400 .75rem var(--font-sans, inherit);color:#8ea2bd}.pg-status[data-state=ok]{color:#6fdc8c}.pg-status[data-state=error],.pg-status[data-state=failed]{color:#ff8b8b}.pg-code{position:relative;flex:1;display:grid;min-height:20rem;font:.9rem/1.6 var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace)}.pg-code>*{grid-area:1 / 1;margin:0;padding:1rem;border:0;font:inherit;white-space:pre;tab-size:4;overflow-wrap:normal}.pg-hl{overflow:hidden;pointer-events:none}.pg-code textarea{resize:none;overflow:auto;background:transparent;color:transparent;caret-color:#fff;outline:none}.pg-code textarea::selection{background:#3fb8ff59;color:transparent}.pg-code textarea:focus-visible{box-shadow:inset 0 0 0 2px #3fb8ff}.pg-side{display:flex;flex-direction:column;gap:.7rem;padding:.7rem}.pg-panel textarea{display:block;width:100%;padding:.5rem .7rem;border-radius:8px;border:1px solid #1e2b42;background:#08101d;color:#e6edf3;font:.85rem/1.5 var(--font-mono, ui-monospace, monospace);resize:vertical}.pg-out-panel{flex:1;min-height:0;display:flex;flex-direction:column}.pg-out{flex:1;min-height:10rem;margin:0;overflow:auto;padding:.7rem .8rem;border-radius:8px;background:#070e1a;font:.86rem/1.55 var(--font-mono, ui-monospace, monospace);white-space:pre-wrap;word-break:break-word}.pg-clear{border:0;background:none;color:#8ea2bd;font-size:.72rem;text-transform:none;letter-spacing:0;cursor:pointer}.pg-err{color:#ff9b9b}.pg-hint{color:#6f819b}.pg-imgs:not(:empty){display:grid;gap:.5rem;margin-top:.6rem}.pg-imgs img{width:100%;border-radius:8px;background:#fff}.pg-about{max-width:52rem;margin-top:2.5rem}.pg-feats{display:grid;gap:.45rem;margin-top:.75rem}.pg-feats code{padding:.05rem .35rem;border-radius:.35rem;background:var(--pastel-grey)}.pg-hl .tk-k{color:#ff9f7a}.pg-hl .tk-b{color:#5fd4e6}.pg-hl .tk-s{color:#a8e6a3}.pg-hl .tk-n{color:#f5c96a}.pg-hl .tk-c{color:#7d8da1;font-style:italic}.pg-hl .tk-d{color:#d2a8ff}
