.target-menu[data-v-a0656343]{position:fixed;margin:0;width:min(15rem,calc((100vw - 1.5rem)/2));padding:.75rem;overflow:visible;border:1px solid var(--line);border-radius:.5rem;background:var(--rail);color:var(--ink)}.target-menu[open][data-v-a0656343]{display:grid;gap:.4rem}h2[data-v-a0656343]{margin:0 0 .25rem;font-size:1rem;text-transform:capitalize}.target-menu[data-v-a0656343]::backdrop{background:#00000026}.move-menu[data-v-a0656343]{margin-right:-.75rem;padding-right:.75rem}.move-menu>button[data-v-a0656343]{width:100%;display:flex;justify-content:space-between;align-items:center}.move-destinations[data-v-a0656343]{position:fixed;width:min(15rem,calc((100vw - 1.5rem)/2));max-height:calc(100dvh - 1rem);overflow-y:auto;display:grid;gap:.3rem;padding:.5rem;border:1px solid var(--line);border-radius:.5rem;background:var(--rail);box-shadow:0 .3rem 1rem #0008}.draft-table[data-v-7af249a1]{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.draft-table-surface[data-v-7af249a1]{position:relative;flex:1;min-height:0;isolation:isolate}.draft-table-surface[data-v-7af249a1] .embedded-draft-table{height:100%;min-height:0}.bulk-zone-dialog[data-v-3e69fdf3]{width:min(90rem,calc(100vw - 2rem));height:calc(100dvh - 2rem);max-height:calc(100dvh - 2rem);margin:auto;padding:.75rem;border:1px solid var(--line);border-radius:.5rem;background:var(--rail);color:var(--ink)}.bulk-zone-dialog[open][data-v-3e69fdf3]{display:flex;flex-direction:column;gap:.5rem}.bulk-zone-dialog>header[data-v-3e69fdf3]{justify-content:space-between;flex-shrink:0;padding:0;background:none;border:0}h2[data-v-3e69fdf3]{margin:0;font-size:1rem}.bulk-zone-surface[data-v-3e69fdf3]{overflow:auto;min-height:0;flex:1 1 auto;overscroll-behavior:contain}footer[data-v-3e69fdf3]{flex-shrink:0;border-top:1px solid var(--line);padding-top:.5rem}footer .row[data-v-3e69fdf3]{justify-content:space-between}footer label[data-v-3e69fdf3]{display:flex;align-items:center;gap:.5rem}.bulk-zone-dialog[data-v-3e69fdf3]::backdrop{background:#000000a6}.position-validation[data-v-a402d812]{width:min(36rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);margin:auto;overflow:hidden;padding:1rem;border:1px solid var(--line);border-radius:.5rem;background:var(--rail);color:var(--ink)}.position-validation[open][data-v-a402d812]{display:flex;flex-direction:column;gap:.75rem}.position-validation[data-v-a402d812]>:not(.validation-changes){flex-shrink:0}.position-validation h2[data-v-a402d812]{margin:0;font-size:1.1rem}.position-validation p[data-v-a402d812]{margin:0}.validation-changes[data-v-a402d812]{overflow:auto;min-height:0;max-height:45dvh;margin:0;padding-left:1.25rem}.validation-changes li[data-v-a402d812]{margin:.4rem 0}.position-validation footer[data-v-a402d812]{justify-content:space-between}.position-validation[data-v-a402d812]::backdrop{background:#000000a6}.turn-editor[data-v-8ff58ab9]{width:min(38rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);margin:auto;overflow:hidden;padding:1rem;border:1px solid #506576;border-radius:.5rem;background:#19242e;color:#ebeff3}.turn-editor[open][data-v-8ff58ab9]{display:flex;flex-direction:column;gap:.75rem}.turn-editor h2[data-v-8ff58ab9]{margin:0;font-size:1.1rem;flex-shrink:0}.turn-editor-body[data-v-8ff58ab9]{min-height:0;overflow:auto}.turn-editor-body label[data-v-8ff58ab9]{display:flex;flex-direction:column;gap:.4rem;min-width:0;max-width:100%;font-size:.9rem}.turn-editor-body select[data-v-8ff58ab9]{max-width:100%;padding:.6rem;border:1px solid #506576;border-radius:6px;font:inherit;font-size:1rem;color:inherit;background:#10171e}.turn-editor-body p[data-v-8ff58ab9]{margin:.75rem 0}.turn-editor-body ul[data-v-8ff58ab9]{padding-left:1.25rem}.turn-editor footer[data-v-8ff58ab9]{flex-shrink:0;justify-content:space-between}.turn-editor[data-v-8ff58ab9]::backdrop{background:#000000a6}.stack-editor[data-v-fea6491a]{width:min(38rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);padding:.75rem;border:1px solid var(--line);border-radius:.5rem;background:var(--rail);color:var(--ink)}.stack-editor[open][data-v-fea6491a]{display:flex;flex-direction:column;gap:.75rem}.stack-editor[data-v-fea6491a]::backdrop{background:#000000a6}header[data-v-fea6491a]{justify-content:space-between;padding:0;background:none;border:0}h2[data-v-fea6491a],p[data-v-fea6491a]{margin:0}h2[data-v-fea6491a]{font-size:1rem}.stack-entries[data-v-fea6491a]{overflow:auto;min-height:0;overscroll-behavior:contain}ol[data-v-fea6491a]{padding:0;margin:0;list-style:none}li[data-v-fea6491a]{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.6rem 0;border-bottom:1px solid var(--line)}li>div[data-v-fea6491a]:first-child{min-width:0;overflow-wrap:anywhere}small[data-v-fea6491a]{display:block}header[data-v-fea6491a],footer[data-v-fea6491a],p[data-v-fea6491a]{flex-shrink:0}@media(max-width:540px){li[data-v-fea6491a]{align-items:flex-start;flex-direction:column}}.spell-editor[data-v-3115ba3a]{width:min(58rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);margin:auto;padding:.75rem;color:var(--ink);background:var(--rail);border:1px solid var(--line);border-radius:.5rem}.spell-editor[open][data-v-3115ba3a]{display:flex;flex-direction:column;gap:.75rem;overflow:hidden}.spell-editor[data-v-3115ba3a]::backdrop{background:#0009}.spell-content[data-v-3115ba3a]{overflow:auto;min-height:0;overscroll-behavior:contain}header[data-v-3115ba3a]{justify-content:space-between}h2[data-v-3115ba3a]{font-size:1rem;margin:0}fieldset[data-v-3115ba3a]{border:1px solid var(--line);margin:.5rem 0;min-width:0}label[data-v-3115ba3a]{min-width:0;max-width:100%}label.row[data-v-3115ba3a]{flex-direction:row}select[data-v-3115ba3a]{max-width:100%}input[inputmode][data-v-3115ba3a]{width:12rem;max-width:100%}.spell-rules[data-v-3115ba3a]{white-space:pre-wrap}footer[data-v-3115ba3a],header[data-v-3115ba3a]{flex-shrink:0}footer p[data-v-3115ba3a]{margin:0 0 .5rem}.property-editor[data-v-6bfedc3c]{width:min(38rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);margin:auto;overflow:hidden;padding:1rem;border:1px solid #506576;border-radius:.5rem;background:#19242e;color:#ebeff3}.property-editor[open][data-v-6bfedc3c]{display:flex;flex-direction:column;gap:.75rem}.property-editor h2[data-v-6bfedc3c]{margin:0;font-size:1.1rem;flex-shrink:0}.property-editor h3[data-v-6bfedc3c]{font-size:1rem;margin:1rem 0 .5rem}.property-editor-body[data-v-6bfedc3c]{min-height:0;overflow:auto}.property-editor label[data-v-6bfedc3c]{display:flex;flex-direction:column;gap:.4rem;min-width:0;max-width:100%;font-size:.9rem}.property-editor select[data-v-6bfedc3c],.property-editor input[data-v-6bfedc3c]{max-width:100%;min-width:0;padding:.6rem;border:1px solid #506576;border-radius:6px;font:inherit;font-size:1rem;color:inherit;background:#10171e}.property-editor input[data-v-6bfedc3c]{width:10rem}.property-editor-body p[data-v-6bfedc3c]{margin:.75rem 0}.property-editor-body ul[data-v-6bfedc3c]{padding-left:1.25rem}.attachment-field[data-v-6bfedc3c]{margin-top:.75rem}.counter-row[data-v-6bfedc3c]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:.5rem;margin:.5rem 0}.property-editor footer[data-v-6bfedc3c]{flex-shrink:0;justify-content:space-between}.property-editor[data-v-6bfedc3c]::backdrop{background:#000000a6}.setup-start[data-v-b477cb2e]{margin:auto;padding:1rem;width:min(28rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow:hidden;color:#ebeff3;border:1px solid #506576}.setup-start form[data-v-b477cb2e]{display:flex;flex-direction:column;max-height:calc(100dvh - 4rem - 2px);gap:.75rem}.setup-start-body[data-v-b477cb2e]{display:grid;gap:.75rem;min-height:0;overflow:auto}.setup-start-fields[data-v-b477cb2e]{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.setup-start-fields label[data-v-b477cb2e],.setup-start select[data-v-b477cb2e]{min-width:0;max-width:100%}.setup-start .setup-shuffle[data-v-b477cb2e]{flex-direction:row;align-items:center}.setup-start h2[data-v-b477cb2e],.setup-start footer[data-v-b477cb2e]{flex-shrink:0}.setup-start h2[data-v-b477cb2e],.setup-start p[data-v-b477cb2e]{margin:0}.setup-start input[data-v-b477cb2e]{width:auto}.setup-start[data-v-b477cb2e]::backdrop{background:#0008}.live-position-editor[data-v-53b4c520]{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.draft-toolbar[data-v-53b4c520]{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;padding:.4rem .65rem;background:var(--rail, #19242e);border-bottom:1px solid var(--line, #354553)}.draft-toolbar strong[data-v-53b4c520]{font-size:.9rem}.draft-toolbar small[data-v-53b4c520]{margin-right:auto}.draft-toolbar label[data-v-53b4c520]{display:flex;gap:.3rem;align-items:center;font-size:.85rem}.draft-toolbar input[data-v-53b4c520]{width:auto}:root{font-family:system-ui,sans-serif;color:#ebeff3;background:#10171e;color-scheme:dark}*{box-sizing:border-box}body{margin:0}.editor-app{min-height:100dvh}.editor-header{position:relative;z-index:20;display:flex;align-items:center;gap:1rem;padding:1rem max(1rem,env(safe-area-inset-right)) 1rem max(1rem,env(safe-area-inset-left));background:#19242e;border-bottom:1px solid #354553}.editor-title{min-width:0;flex:1}.editor-header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.2rem;margin:.2rem 0 0}.eyebrow{font-size:.65rem;letter-spacing:.2em;color:#b5cddc}.editor-tools{position:relative}.editor-tools summary{padding:.6rem .9rem;background:#2b4557;border:1px solid #668095;border-radius:7px;cursor:pointer}.header-actions{position:absolute;top:calc(100% + .4rem);right:0;display:grid;gap:.4rem;min-width:160px;padding:.5rem;background:#19242e;border:1px solid #506576;border-radius:8px;box-shadow:0 8px 24px #0008}.editor-home{max-width:980px;margin:auto;padding:1.5rem;display:grid;gap:1rem}.editor-panel{padding:1.25rem;border:1px solid #354553;border-radius:12px;background:#19242e}.editor-panel h2{font-size:1.1rem;margin:0 0 .7rem}.editor-panel p{font-size:.9rem;color:#b9c6d0;line-height:1.5}.editor-header button,.editor-home button,.file-button{color:inherit;background:#2b4557;border:1px solid #668095;border-radius:7px;padding:.6rem .9rem;cursor:pointer;font:inherit}.editor-header button:disabled,.editor-home button:disabled{opacity:.55;cursor:wait}.editor-panel label{display:flex;flex-direction:column;gap:.5rem;font-size:.85rem}.editor-panel input,.editor-panel select,.editor-panel textarea{font:inherit;color:inherit;background:#10171e;border:1px solid #506576;border-radius:6px;padding:.65rem}.editor-panel textarea{font-family:ui-monospace,monospace;resize:vertical}.row{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem}.deck-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}.card-results{list-style:none;padding:0;display:flex;gap:.5rem;flex-wrap:wrap}.saved-list{list-style:none;padding:0;margin:0}.saved-list li{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:.8rem 0;border-top:1px solid #354553}.saved-list small{display:block;color:#b9c6d0;margin-top:.25rem}.editor-panel .file-button{position:relative;display:block;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.editor-message{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin:0;padding:.5rem .75rem;background:#263949;font-size:.85rem}.editor-message button{flex:none;border:0;color:inherit;background:transparent;padding:.25rem .5rem;cursor:pointer;font:inherit}.editor-message.error{background:#643432}.with-table{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.editor-table{position:relative;flex:1;min-height:0;isolation:isolate;overflow:hidden}.editor-table main.embedded-duel:has(>.game-screen){height:100%;min-height:0}.position-editor{width:min(54rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);margin:auto;padding:1rem;overflow:auto;color:#ebeff3;background:#10171e;border:1px solid #607a8d;border-radius:.7rem}.position-editor[open]{display:flex;flex-direction:column;gap:.75rem;overflow:hidden}.position-editor .position-toolbar{flex-shrink:0;max-height:52dvh;overflow:auto}.position-content{min-height:0;overflow:auto;display:grid;gap:.75rem;overscroll-behavior:contain}.position-editor .editor-panel{margin:0}.position-editor::backdrop{background:#0000004d}.position-editor .save-position-option{display:flex;flex-direction:row;align-items:center;gap:.5rem}.position-editor .save-position-option input{width:auto}@media(max-width:620px),(max-height:500px){.position-editor{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem);padding:.5rem}}.position-zones{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.position-cards{list-style:none;padding:0}.position-cards li{display:flex;gap:.3rem;margin:.35rem 0}.position-cards li>button:first-child{flex:1;text-align:left}.position-cards button[aria-pressed=true]{outline:2px solid #dfc88b}@media(max-width:600px){.deck-grid{grid-template-columns:1fr}.editor-home{padding:.75rem}.editor-header{padding-top:.5rem;padding-bottom:.5rem;gap:.5rem}.editor-title{min-width:0;flex:1}.editor-header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem}}@media(max-height:500px){.with-table .editor-header{padding-top:.25rem;padding-bottom:.25rem;gap:.6rem}.with-table .eyebrow{display:none}.with-table .editor-header h1{margin:0;font-size:1rem}.with-table .editor-header button,.with-table .editor-tools summary{padding:.4rem .6rem;font-size:.85rem}}.add-cards-dialog{width:min(56rem,calc(100vw - 2rem));height:min(48rem,calc(100dvh - 2rem));max-height:calc(100dvh - 2rem);overflow:hidden;box-sizing:border-box;border:1px solid #506576;border-radius:12px;padding:1rem;color:inherit;background:#19242e}.add-cards-dialog::backdrop{background:#000a}.add-cards-dialog.editor-panel{margin:auto}.add-cards-dialog[open]{display:flex;flex-direction:column;gap:.5rem}.add-cards-dialog>:not(.add-card-search){flex-shrink:0}.add-cards-dialog>header{justify-content:space-between;padding:0;border:0;background:none}.add-card-actions{align-items:center}.add-card-actions label{display:flex;flex-direction:row;align-items:center;gap:.5rem}.add-card-actions input{width:4rem}.add-card-actions span{font-size:.85rem}.add-card-search{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.add-card-search .authoring-card-search,.add-card-search .authoring-card-search>fieldset,.add-card-search .deck-catalog{display:flex;flex-direction:column;flex:1;min-height:0}.add-cards-dialog h2{margin:0}@media(max-height:500px),(max-width:600px){.add-cards-dialog{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem);height:calc(100dvh - 1rem);padding:.5rem}.add-card-actions span{display:none}}
