:root{--ink:var(--sl-color-white);--muted:var(--sl-color-gray-3);--bg:var(--sl-color-black);--tile:var(--mg-surface);--line:var(--sl-color-gray-5);--ac:var(--sl-color-white)}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font:16px/1.6 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}a{color:var(--ac)}.bar{color:#fff;text-align:center;background:#1d1d1f;padding:.5rem 1rem;font-size:.9rem}.bar a{color:#fff;font-weight:600}.bar code{background:#00000040;border-radius:.3em;padding:.1em .4em}.mgh{z-index:40;background:var(--sl-color-gray-7);border-bottom:1px solid var(--sl-color-gray-6);grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;height:4rem;padding:0 1.5rem;display:grid;position:sticky;top:0}:root[data-theme=dark] .mgh{border-bottom-color:var(--sl-color-gray-6);background:#000}.mgh-logo{color:var(--ink);align-items:center;gap:.75rem;font-size:1.5rem;font-weight:600;text-decoration:none;display:inline-flex}.mgh-logo img{width:40px;height:40px}.mgh-search{border:1px solid var(--line);background:var(--bg);width:22rem;height:2.5rem;color:var(--muted);border-radius:.5rem;align-items:center;gap:.5rem;padding:0 .75rem;display:flex}.mgh-search input{all:unset;color:var(--ink);flex:1;font-size:.875rem}.mgh-search input::placeholder{color:var(--muted)}.mgh-search:focus-within{border-color:var(--ink)}.mgh-right{justify-content:flex-end;align-items:center;gap:.25rem;display:flex}.mgh-right .mg-snd button{min-width:2rem;min-height:2rem!important;color:var(--ink)!important;background:0 0!important;border:0!important}@media (width<=60rem){.mgh{grid-template-columns:auto minmax(0,1fr) auto}.mgh-search{width:auto;min-width:0}.mgh-search input{width:100%;min-width:0}}@media (width<=40rem){.mgh{gap:.5rem;padding:0 1rem}.mgh-logo span{display:none}}.btn{background:var(--ac);border-radius:.625rem;align-items:center;min-height:2.5rem;padding:0 1rem;font-weight:600;text-decoration:none;display:inline-flex;color:var(--bg)!important}.btn.ghost{border:1px solid var(--line);background:0 0;color:var(--ink)!important}main{max-width:68rem;margin:0 auto;padding:2rem 1.5rem 3rem}h1{margin:.5rem 0;font-size:2.2rem;line-height:1.15}h2{margin:2rem 0 .75rem;font-size:1.25rem}.crumbs{color:var(--muted);font-size:.9rem}.crumbs a,.muted{color:var(--muted)}.tags{flex-wrap:wrap;gap:.4rem;margin:.75rem 0;padding:0;list-style:none;display:flex}.tags li{border:1px solid var(--line);border-radius:999px;padding:.15rem .7rem;font-size:.85rem}.stage{flex-wrap:wrap;gap:1rem;margin:1.25rem 0;display:flex}.tile{background:var(--tile);min-width:8rem;color:var(--ink);--mg-bg:var(--tile);cursor:pointer;border:0;border-radius:1rem;justify-items:center;gap:.4rem;padding:1rem;font-family:inherit;font-size:.85rem;display:grid}.tile img{display:block}.icon-tools{flex-wrap:wrap;align-items:center;gap:.75rem 1rem;margin:1.25rem 0 0;display:flex}.icon-tools .mg-colors{margin:0}.stage[data-mg-colored] .tile magic-glyph{color:var(--mg-pick)}.stage .tile{align-content:center;min-height:8rem}.hint{margin-top:-.25rem;font-size:.85rem}pre{background:var(--tile);border-radius:.75rem;padding:1rem;font-size:.85rem;overflow:auto}code{font-family:ui-monospace,Menlo,Consolas,monospace}.grid{grid-template-columns:repeat(auto-fill,minmax(7.5rem,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.grid a{background:var(--tile);color:var(--ink);--mg-bg:var(--tile);text-align:center;overflow-wrap:anywhere;border-radius:.9rem;justify-items:center;gap:.4rem;padding:.9rem .4rem .7rem;font-size:.8rem;text-decoration:none;display:grid}.grid img{object-fit:cover;object-position:left;width:48px;height:48px}html:not(.mg-has-key) .grid a.paid{border:1px dashed var(--line);color:var(--muted);background:0 0;position:relative}html:not(.mg-has-key) .grid a.paid img{opacity:.45;filter:grayscale()}.grid a.paid img.mg-anim,html:not(.mg-has-key) .grid a.paid:hover img.mg-anim{opacity:1;object-position:center;transform:scale(1.125)}.ctx{border:1px solid var(--line);border-radius:14px;flex-wrap:wrap;align-items:center;gap:1rem;padding:1.25rem;display:flex}.ctx-btn{border:1px solid var(--line);border-radius:10px;align-items:center;gap:.45rem;padding:.5rem .9rem;font-size:.9rem;font-weight:600;display:inline-flex}.ctx-nav{align-items:center;gap:.5rem;font-size:.95rem;display:inline-flex}.ctx-toast{border-radius:12px;align-items:center;gap:.7rem;padding:.6rem .9rem;display:inline-flex;box-shadow:0 6px 24px #0000001f}.ctx-toast small{color:var(--muted);font-size:.78rem;display:block}.ctx-tones{gap:.4rem;margin-left:auto;display:inline-flex}.ctx-tones button{all:unset;cursor:pointer;width:1.2rem;height:1.2rem;box-shadow:0 0 0 2px var(--line);background:#13152a;border-radius:50%}.ctx-tones button[data-tone-set=violet]{background:#5b3df5}.ctx-tones button[data-tone-set=green]{background:#0e9f6e}.ctx-tones button[data-tone-set=red]{background:#e02424}.ctx[data-tone=violet] img{filter:invert(27%)sepia(93%)saturate(4300%)hue-rotate(246deg)brightness(98%)!important}.ctx[data-tone=green] img{filter:invert(45%)sepia(64%)saturate(2400%)hue-rotate(130deg)brightness(92%)!important}.ctx[data-tone=red] img{filter:invert(22%)sepia(88%)saturate(4700%)hue-rotate(350deg)brightness(92%)!important}.clip{cursor:pointer;font:inherit;color:inherit}.clip img{width:96px;height:96px}html[data-theme=dark] .clip img,html[data-theme=dark] .ctx img{filter:invert()}html[data-theme=dark]:not(.mg-has-key) .grid a.paid img{filter:grayscale()invert();opacity:.5}html:not(.mg-has-key) .grid a.paid:hover img{opacity:.5}html:not(.mg-has-key) .grid a.paid:after{content:"";background:var(--muted);width:12px;height:12px;position:absolute;top:6px;right:6px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") 50%/contain no-repeat}.lock{color:var(--muted);align-items:center;gap:.5rem;font-size:.9rem;display:inline-flex}.mgf{max-width:76rem;margin:0 auto;padding:0 1.5rem 1rem}p code{overflow-wrap:anywhere}pre{max-width:100%}@media (width<=40rem){h1{font-size:1.7rem}main{padding:1.25rem 1rem 2rem}}
