#playground{--bg:#0a0b0f;--card:#13151b;--line:#262a33;--text:#f5f6f8;--muted:#9aa1b2;--accent:#ff7a18;--link:#ff7a18;--code:#0d0f14;--shadow:rgba(0,0,0,.45);color:var(--muted)}#playground h2{font-family:var(--font-display);font-size:clamp(1.8rem,4vw,2.6rem);letter-spacing:-.02em}#playground h2,#playground h3{color:var(--text);font-weight:600}#playground h3{margin-bottom:.75rem}#playground .sub{margin:.75rem 0 2rem;max-width:46rem;font-size:1.1rem}#playground code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}#playground .muted,#playground p{color:var(--muted)}#playground .btn{display:inline-flex;align-items:center;padding:12px 20px;border-radius:999px;text-decoration:none;border:1px solid var(--line);color:var(--text);background:var(--card);font-weight:600}#playground .btn.primary,#playground .btn:hover{border-color:var(--accent)}#playground .btn.primary{background:var(--accent);color:#1a0f05}#playground .btn.small{padding:8px 14px;font-size:.9rem}#playground .card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:24px}#playground .card p:last-child{margin-bottom:0}#playground .card.accent{border-color:var(--accent)}#playground .pg{aspect-ratio:1;border-radius:5px;display:grid;place-items:center;font:600 .6rem ui-monospace,Menlo,monospace;color:#1a0f05}#playground .pg.data{background:var(--accent)}#playground .pg.sig{background:color-mix(in srgb,var(--accent) 35%,var(--card));color:var(--text)}#playground .pg-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;align-items:start}#playground .pg-tabs{display:flex;gap:6px;margin-bottom:16px;background:var(--bg);padding:4px;border-radius:12px;border:1px solid var(--line)}#playground .pg-tab{flex:1;border:0;background:none;color:var(--muted);font:inherit;font-weight:650;padding:9px 8px;border-radius:9px;cursor:pointer}#playground .pg-tab[aria-selected=true]{background:var(--card);color:var(--text);box-shadow:0 1px 4px var(--shadow)}#playground .pg-f{display:block;margin-bottom:12px}#playground .pg-f>span{display:block;font-size:.85rem;color:var(--muted);margin-bottom:5px}#playground .pg-fname{font:600 .72rem ui-monospace,Menlo,monospace;color:var(--accent);background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:1px 6px;margin-left:4px;white-space:nowrap}#playground .pg-fname--row{display:block;width:-moz-fit-content;width:fit-content;margin:3px 0 0 17px;font-weight:500;color:var(--muted)}#playground .pg-left{display:grid;grid-template-columns:1fr 96px;gap:10px;align-items:center}#playground #pg-left-out,#playground #pg-msg-out{color:var(--text);font-weight:600;margin-left:6px}#playground .pg-td{max-width:50%}#playground .pg-meter{display:block;height:6px;margin-top:6px;border-radius:999px;background:var(--bg);border:1px solid var(--line);overflow:hidden}#playground .pg-meter i{display:block;height:100%;width:0;background:var(--g-msg);transition:width .15s ease}#playground .pg-meter i.is-full{background:var(--accent)}#playground .pg-colors select,#playground .pg-f input:not([type=color]):not([type=range]),#playground .pg-f select,#playground .pg-f textarea{width:100%;font:inherit;font-size:.95rem;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:9px 11px}#playground .pg-f textarea{font-family:ui-monospace,Menlo,monospace;font-size:.85rem}#playground .pg-f input:focus,#playground .pg-f select:focus,#playground .pg-f textarea:focus{outline:2px solid var(--accent);outline-offset:1px}#playground .pg-f input[type=range]{width:100%;accent-color:var(--accent)}#playground .pg-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}#playground .pg-2 .pg-f{margin-bottom:12px}#playground .pg-colors{display:flex;gap:8px;align-items:center}#playground .pg-colors select{width:70px}#playground .pg-colors input[type=color][hidden]{display:none}#playground .pg-combo{position:relative}#playground .pg-combo-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;font:inherit;font-size:.95rem;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:9px 11px;cursor:pointer;text-align:left}#playground .pg-combo-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#playground .pg-combo-btn svg{width:15px;height:15px;flex:none;color:var(--muted)}#playground .pg-combo-btn:focus-visible,#playground .pg-combo-btn[aria-expanded=true]{outline:2px solid var(--accent);outline-offset:1px}#playground .pg-combo-pop{position:absolute;z-index:20;left:0;min-width:max(100%,260px);top:calc(100% + 6px);background:var(--card);border:1px solid var(--accent);border-radius:12px;box-shadow:0 18px 44px rgba(0,0,0,.5);padding:8px}#playground .pg-combo-pop[hidden]{display:none}#playground .pg-combo-q{width:100%;font:inherit;font-size:.92rem;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px 10px;margin-bottom:6px}#playground .pg-combo-q:focus{outline:2px solid var(--accent);outline-offset:0}#playground .pg-combo-list{list-style:none;margin:0;padding:0;max-height:260px;overflow-y:auto}#playground .pg-combo-list li{padding:7px 10px;border-radius:7px;cursor:pointer;color:var(--text);font-size:.92rem}#playground .pg-combo-list li.is-active,#playground .pg-combo-list li:hover{background:var(--bg)}#playground .pg-combo-list li[aria-selected=true]{color:var(--accent);font-weight:600}#playground .pg-combo-list .pg-combo-none{color:var(--muted);cursor:default}#playground .pg-colors input[type=color]{width:44px;height:40px;border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:3px;cursor:pointer}#playground .pg-list{list-style:none;margin:0 0 12px;padding:0;max-height:260px;overflow-y:auto;border:1px solid var(--line);border-radius:10px}#playground .pg-list:empty{display:none}#playground .pg-list{max-height:360px}#playground .pg-list button{display:flex;gap:12px;align-items:center;width:100%;text-align:left;padding:6px 10px 6px 6px;background:none;border:0;border-bottom:1px solid var(--line);color:var(--text);font:inherit;cursor:pointer}#playground .pg-list button:hover{background:var(--bg)}#playground .pg-thumb{flex:none;display:inline-flex;border-radius:10px;overflow:hidden;background:var(--spool-bg,var(--line))}#playground .pg-thumb img{display:block;width:56px;height:56px;-o-object-fit:cover;object-fit:cover;box-sizing:border-box;border:4px solid transparent;border-radius:10px;background:#fff;background-clip:padding-box}#playground .pg-thumb[hidden]{display:none}#playground .pg-zoom{position:fixed;z-index:50;pointer-events:none;padding:6px;border-radius:16px;background:var(--spool-bg,var(--card));box-shadow:0 18px 40px -10px rgba(0,0,0,.55),0 0 0 1px var(--line);opacity:0;transform:scale(.92);transition:opacity .14s ease,transform .16s cubic-bezier(.2,.8,.2,1)}#playground .pg-zoom.is-on{opacity:1;transform:none}#playground .pg-zoom img{display:block;width:220px;height:220px;-o-object-fit:cover;object-fit:cover;border-radius:11px;background:#fff}@media (prefers-reduced-motion:reduce){#playground .pg-zoom{transition:none}}#playground .pg-ptxt{min-width:0}#playground .pg-ptxt b{font-size:.92rem}#playground .pg-ptxt b,#playground .pg-ptxt small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#playground .pg-ptxt small{color:var(--muted);font-size:.8rem}#playground .pg-muted{padding:10px 12px;color:var(--muted)}#playground .pg-headtxt{min-width:0}#playground .pg-ptitle{display:block;font-size:1.05rem;color:var(--text)}#playground .pg-pmeta:empty,#playground .pg-ptitle:empty{display:none}#playground .pg-pmeta{display:block;color:var(--muted);font-size:.88rem;margin:2px 0 8px}#playground .pg-common{border-top:1px solid var(--line);padding-top:14px;margin-top:4px}#playground .pg-error{color:#f06a6a;margin:8px 0 0;min-height:1px}#playground .pg-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}#playground .pg-filebtn{cursor:pointer}#playground .pg-out{display:grid;gap:16px}#playground .pg-head{display:flex;gap:18px;align-items:center;flex-wrap:wrap}#playground .pg-pill{flex:none;width:min(420px,100%);display:flex;gap:12px;align-items:center;padding:8px 14px 8px 8px;background:var(--bg);border:1px solid var(--line);border-radius:14px}#playground .pg-thumb--pill img.pg-pill-photo{width:64px;height:64px}#playground .pg-pill-color[hidden],#playground .pg-pill-photo[hidden]{display:none}#playground .pg-pill-color{width:64px;height:64px;border-radius:10px;display:flex;align-items:flex-start;justify-content:flex-end}#playground .pg-pill-color img{width:42%;height:auto;margin:8%;border:0;border-radius:0;background:none;-o-object-fit:contain;object-fit:contain}#playground .pg-pill .pg-ptxt b{font-size:1rem}#playground .pg-pill .pg-ptxt small{font-size:.85rem}#playground .pg-summary{margin:0;color:var(--text);font-weight:600}#playground .pg-bytes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(18,auto);grid-auto-flow:column;gap:4px 14px;margin:10px 0 6px}#playground .pg-row{display:grid;grid-template-columns:26px repeat(4,minmax(0,1fr));gap:3px;align-items:center}#playground .pg-page{font:600 .68rem ui-monospace,Menlo,monospace;color:var(--muted)}#playground .pg-b{font:600 .78rem ui-monospace,Menlo,monospace;padding:5px 0;border-radius:6px;cursor:pointer;color:var(--text);border:1px solid transparent;background:color-mix(in srgb,var(--g) 22%,var(--card))}#playground .pg-b:hover{border-color:var(--g)}#playground .pg-b.pg-sel{background:var(--g);color:#111}#playground .pg-b.pg-changed{animation:pgflash 1s ease-out}#playground .pg-explain{min-height:2.6em;margin:8px 0 0;font-size:.92rem}#playground .pg-hex{width:100%;font:.75rem ui-monospace,Menlo,monospace;color:var(--muted);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:8px;resize:vertical;word-break:break-all}#playground .pg-table{margin-top:16px}#playground .pg-scroll{overflow-x:auto}#playground .pg-fields{width:100%;border-collapse:collapse;font-size:.9rem}#playground .pg-fields th{text-align:left;color:var(--muted);font-weight:600;padding:6px 10px;border-bottom:1px solid var(--line)}#playground .pg-fields td{padding:7px 10px;border-bottom:1px solid var(--line);color:var(--text);vertical-align:middle}#playground .pg-fields tr{cursor:pointer}#playground .pg-fields tr.pg-sel td,#playground .pg-fields tr:hover td{background:color-mix(in srgb,var(--g) 14%,transparent)}#playground .pg-dot{display:inline-block;width:9px;height:9px;border-radius:3px;background:var(--g);margin-right:8px}#playground .pg-mono{font-family:ui-monospace,Menlo,monospace;font-size:.82rem;white-space:nowrap}#playground .pg-sw{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px;margin-right:6px;border:1px solid var(--line)}#playground .small{font-size:.85rem}@media (max-width:999px){#playground .pg-grid{grid-template-columns:minmax(0,1fr)}#playground .pg-tab{font-size:.85rem;padding:8px 4px}}@media (max-width:639px){#playground .pg-bytes{grid-template-columns:1fr;grid-template-rows:none;grid-auto-flow:row}#playground .pg-head{flex-direction:column;align-items:flex-start}}#playground .pg-list{border:0;display:grid;gap:6px;padding:2px}#playground .pg-list li{list-style:none}#playground .pg-list button{padding:0 12px 0 0;border:1px solid var(--line);border-radius:12px;background:var(--bg);overflow:hidden;min-height:64px}#playground .pg-list button:hover{border-color:var(--accent)}#playground .pg-list .pg-thumb,#playground .pg-pill .pg-thumb{align-self:stretch;width:64px;border-radius:0;display:grid;place-items:center}#playground .pg-list .pg-thumb img{width:48px;height:48px;border:0;border-radius:8px;background:#fff}#playground .pg-pill{padding:0 14px 0 0;overflow:hidden;min-height:80px}#playground .pg-pill .pg-thumb{width:80px}#playground .pg-pill .pg-thumb img.pg-pill-photo{width:60px;height:60px;border:0;border-radius:9px;background:#fff}#playground .pg-pill .pg-pill-color{width:100%;height:100%;border-radius:0}#playground .pg-pill .pg-pill-color img{width:30%}#playground .pg-tags{display:block;color:var(--muted);font-size:.8rem;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#playground .pg-tags:empty{display:none}#playground .pg-thumb{position:relative}#playground .pg-refill{position:absolute;top:5px;left:5px;z-index:2;display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 7px 0 5px;border-radius:999px;color:#fff;pointer-events:none;background:linear-gradient(135deg,#16a34a,#1aaf6c);border:1.5px solid rgba(255,255,255,.85);box-shadow:0 1px 4px rgba(0,0,0,.25)}#playground .pg-refill svg{width:12px;height:12px;flex:none}#playground .pg-refill b{font-size:10.5px;font-weight:800;letter-spacing:.02em;line-height:1}#playground .pg-refill--sm{top:3px;left:3px;width:15px;height:15px;padding:0;justify-content:center;border-width:1px}#playground .pg-refill--sm svg{width:9px;height:9px}#playground .pg-list .pg-thumb img,#playground .pg-pill .pg-thumb img.pg-pill-photo{position:absolute;top:5px;left:5px;width:calc(100% - 10px);height:calc(100% - 10px);border-radius:8px;-o-object-fit:cover;object-fit:cover}#playground .pg-pill{position:relative}#playground .pg-pill>.pg-refill{top:8px;left:auto;right:8px}#playground .pg-pill.has-refill .pg-ptxt{padding-right:64px}#playground .pg-refill,#playground .pg-refill b{color:#fff}#playground .pg-refill svg{stroke:#fff}#playground .card--wide{grid-column:1/-1}#playground{--g-id:#f58220;--g-mat:#3b82f6;--g-col:#ec4899;--g-qty:#22c55e;--g-set:#eab308;--g-twin:#a855f7;--g-msg:#14b8a6;--g-res:#6b7280;--g-sig:#8b5e3c}#playground .g-id{--g:var(--g-id)}#playground .g-mat{--g:var(--g-mat)}#playground .g-col{--g:var(--g-col)}#playground .g-qty{--g:var(--g-qty)}#playground .g-set{--g:var(--g-set)}#playground .g-twin{--g:var(--g-twin)}#playground .g-msg{--g:var(--g-msg)}#playground .g-res{--g:var(--g-res)}#playground .g-sig{--g:var(--g-sig)}#playground .pg-grid>*{min-width:0}#playground .pg-tab{white-space:normal;line-height:1.25}