:root{--bg:#222220;--surface:#2e2e2c;--surface2:#363634;--head:#323230;--hover:#3a3a38;--border:#444440;--border-strong:#5a5a56;--rule:#3a3a38;--text:#e8e6de;--text2:#c2c0b8;--muted:#9c9a92;--hint:#6a6a64;--purple:#7f77dd;--purple-bg:#26215c;--purple-t:#afa9ec;--teal:#1d9e75;--teal-bg:#04342c;--teal-t:#9fe1cb;--amber:#ba7517;--amber-bg:#412402;--amber-t:#fac775;--coral:#d85a30;--coral-bg:#4a1b0c;--coral-t:#f0997b;--green:#639922;--green-bg:#173404;--green-t:#c0dd97;--yellow:#eab308;--yellow-bg:#422006;--yellow-t:#fde047;--red:#dc2626;--red-bg:#450a0a;--red-t:#fca5a5;--rar-common:#f0f0ec;--rar-uncommon:#8fa3b0;--rar-rare:#e8bb3d;--rar-mythic:#e8875a;--mana-w:#f8f6d8;--mana-u:#c1d7e9;--mana-b:#cbc2bf;--mana-r:#f9aa8f;--mana-g:#9bd3ae;--mana-c:#cbc5c0;--mana-ink:#1f1e1d;--stage:#141413;--src-liga:#e05252;--src-myp:#e8a02d;--src-tcg:#4d9de0;--r-card:12px;--r-ctl:8px;--r-act:6px}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font:12px/1.5 Inter,system-ui,-apple-system,Segoe UI,sans-serif}button,input{font:inherit;color:inherit}.ic{fill:none;stroke:currentColor;stroke-width:1.6px;flex:none;display:block}::selection{background:#7f77dd47}.f-pri{background:var(--purple);color:#fff;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;height:30px;padding:0 14px;font-weight:600;display:inline-flex}.f-pri:hover{filter:brightness(1.08)}.f-pri:disabled{opacity:.55;cursor:default}.x-sel{border:1px solid var(--border-strong);height:30px;color:var(--text);cursor:pointer;white-space:nowrap;background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 10px;display:inline-flex}.x-sel:hover{background:var(--hover)}.f-pri:focus-visible,.x-sel:focus-visible,.lk:focus-visible,.it:focus-visible,.in2:focus-visible{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--purple);outline:none}.bl{width:100%}.stg{flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:100vh;padding:60px 16px 24px;display:flex;position:relative}.tbar{background:var(--amber-bg);height:36px;color:var(--amber-t);border-bottom:1px solid #ba751773;justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;top:0;left:0;right:0}.tbar b{font-weight:600}.tbar span{opacity:.8}.lc2{flex-direction:column;gap:14px;width:300px;max-width:100%;display:flex}.lform{flex-direction:column;gap:14px;display:flex}.lg-c{justify-content:center;margin-bottom:14px;display:flex}.sclogo{width:132px;height:auto;display:block}.fl2{flex-direction:column;gap:6px;display:flex}.fl2 label{color:var(--muted);font-size:11px}.in2{border:1px solid var(--border);background:var(--surface);height:30px;color:var(--text);border-radius:8px;width:100%;padding:0 10px}.in2::placeholder{color:var(--hint)}.in2:focus{border-color:var(--purple);outline:none}.ou{color:var(--hint);align-items:center;gap:10px;font-size:11px;display:flex}.ou i{background:var(--rule);flex:1;height:1px}.lk{color:var(--muted);text-align:center;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;align-self:center;padding:0;font-size:11.5px;text-decoration:underline}.lk:hover{color:var(--text)}.lf{color:var(--hint);font-size:11px}.lt{color:var(--text);font-size:15px;font-weight:600}.ls{color:var(--muted);margin-top:-6px;font-size:12px}.c-h{color:var(--muted)}.qrw{flex-direction:column;align-items:center;gap:12px;display:flex}.qr{background:#fff;border-radius:6px;flex:none;width:200px;height:200px;padding:0}.qr svg,.qr img{width:100%;height:100%;display:block}.kx{text-align:center;flex-direction:column;align-items:center;gap:4px;width:100%;display:flex}.ky{color:var(--text2);word-break:break-all;font-family:ui-monospace,Menlo,monospace;font-size:12px}.d6{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.d6 input{border:1px solid var(--border);text-align:center;width:100%;height:38px;color:var(--text);background:var(--bg);border-radius:8px;padding:0;font-size:16px;font-weight:600}.d6 input.f{border-color:var(--border-strong)}.d6 input:focus{border-color:var(--purple);outline:none}.rk{color:var(--text2);cursor:pointer;align-items:center;gap:8px;display:flex}.ckx{opacity:0;width:0;height:0;position:absolute}.ck{border:1px solid var(--border-strong);color:#0000;border-radius:4px;justify-content:center;align-items:center;width:16px;height:16px;display:inline-flex}.ckx:checked+.ck{background:var(--purple);border-color:var(--purple);color:#fff}.ckx:focus-visible+.ck{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--purple)}.av{border:1px solid;border-radius:8px;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex}.av.err{background:color-mix(in srgb,var(--coral) 10%,transparent);border-color:color-mix(in srgb,var(--coral) 45%,transparent);color:var(--text)}.av.err .ic{color:var(--coral-t)}.av.ok{background:var(--green-bg);border-color:color-mix(in srgb,var(--green) 45%,transparent);color:var(--green-t)}.tst{background:var(--amber-bg);height:18px;color:var(--amber-t);white-space:nowrap;border-radius:9px;align-items:center;padding:0 8px;font-size:10.5px;font-weight:500;display:inline-flex}.app{grid-template-columns:200px minmax(0,1fr);min-height:100vh;display:grid}.app.rec{grid-template-columns:56px minmax(0,1fr)}.sbx{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:2px;height:100vh;padding:16px 12px;display:flex;position:sticky;top:0}.sbx .br{align-items:center;gap:8px;min-height:38px;padding:0 8px 16px;display:flex}.lgm .sclogo{width:96px}.it{height:30px;color:var(--muted);text-align:left;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;padding:0 8px;font-size:13px;text-decoration:none;display:flex;overflow:hidden}.it:hover{background:var(--hover);color:var(--text)}.it.on{background:var(--surface2);color:var(--purple);font-weight:500}.it .i{fill:none;stroke:currentColor;stroke-width:1.6px;flex:none;width:15px;height:15px}.sbx .ft{border-top:1px solid var(--border);flex-direction:column;gap:2px;margin-top:auto;padding-top:10px;display:flex}.app.rec .it span,.app.rec .lgm,.app.rec .tst{display:none}.app.rec .sbx{padding:16px 8px}.app.rec .it{justify-content:center;padding:0}.pg{flex-direction:column;gap:12px;min-width:0;padding:24px 28px 40px;display:flex}.pt{color:var(--purple);margin:0 0 4px;font-size:18px;font-weight:700}.vz{border:1px solid var(--border);background:var(--surface);border-radius:12px;max-width:640px;padding:16px 20px}.vz-t{font-weight:600}.vz-l{color:var(--muted)}@media (width<=720px){.app,.app.rec{grid-template-columns:1fr;padding-bottom:64px}.sbx{border-right:0;border-top:1px solid var(--border);z-index:5;flex-direction:row;justify-content:space-around;height:64px;padding:6px;position:fixed;inset:auto 0 0}.sbx .br,.sbx .ft .it[data-rec],.sbx .ft .it[data-p=config]{display:none}.sbx .ft{border:0;flex-direction:row;margin:0;padding:0}.it{flex-direction:column;justify-content:center;gap:3px;width:auto;height:52px;padding:0 6px;font-size:10px}.it span{display:block!important}.pg{padding:16px}}[data-erro]:empty{display:none}
