button.edit-action{justify-content:center;align-items:center;gap:.4rem;display:inline-flex}button.edit-action svg{flex:none}button.edit-action.edit-action--save{color:#fff;background:#326ca9;border-color:#5996d3}button.edit-action.edit-action--save:is(:disabled,.is-unavailable){color:#929c9f;opacity:.45;filter:none;background:#202425;border-color:#2a2a34}button.edit-action.edit-action--done{color:#f1fffa;background:#245b50;border-color:#549f8f}button.edit-action.edit-action--cancel{color:#edf0ee;background:0 0;border-color:#515a60}button.edit-action.edit-action--discard{color:#f1d78c;background:0 0;border-color:#8f7844}button.edit-action:hover:not(:disabled):not(.is-unavailable){filter:brightness(1.15)}button.edit-action:disabled{opacity:.45;cursor:not-allowed;filter:none}.shared-dialog.draft-navigation-dialog{width:min(38rem,100vw - 2rem);max-width:38rem}.shared-dialog.draft-navigation-dialog .shared-dialog__actions{grid-template-columns:repeat(3,max-content);justify-content:end;gap:.5rem;display:grid}.shared-dialog.draft-navigation-dialog .shared-dialog__actions button{white-space:nowrap}@media (width<=640px){.shared-dialog.draft-navigation-dialog .shared-dialog__actions{grid-template-columns:minmax(0,1fr);justify-content:stretch}.shared-dialog.draft-navigation-dialog .shared-dialog__actions button{white-space:normal;min-width:0}}label{text-transform:uppercase;flex-direction:column;gap:.25rem;margin-bottom:.25rem;font-size:.8rem;font-weight:600;display:flex}label.inline{flex-direction:row;align-items:center}label.small{letter-spacing:.03em;text-transform:none;font-size:.75rem}label.tiny{letter-spacing:.02em;text-transform:none;font-size:.65rem}label.center{text-align:center}label.right{text-align:right}label.justify{justify-content:space-between}label.subtle{opacity:.65;text-transform:none;font-weight:500}input[type=text],input[type=search],input:not([type]),input[type=number],textarea{color:#edf0ee;background:#2b3032;border:1px solid #515a60;border-radius:4px;padding:.5rem .6rem;font-family:Open Sans,Arial,sans-serif;font-size:.875rem;line-height:1.3}input[type=text]:focus,input[type=search]:focus,input:not([type]):focus,input[type=number]:focus,textarea:focus{border-color:#f1d78c;outline:2px solid #f1d78c}input[type=text]:disabled,input[type=search]:disabled,input:not([type]):disabled,input[type=number]:disabled,textarea:disabled{color:#929c9f;cursor:not-allowed;background:#202425;border-color:#2a2a34;transform:none}input[type=text]:disabled:hover,input[type=search]:disabled:hover,input:not([type]):disabled:hover,input[type=number]:disabled:hover,textarea:disabled:hover{background:#202425}textarea{resize:none;min-height:56px;max-height:160px;overflow-y:auto}input[role=spinbutton][aria-invalid=true]{border-color:#f44336}@media (width<=720px){input[type=text][role=spinbutton]{font-size:16px}}select{color:#edf0ee;box-sizing:border-box;cursor:pointer;appearance:none;background:#2b3032 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") right .5rem center/1rem no-repeat;border:1px solid #515a60;border-radius:4px;padding:.35rem 2.5rem .35rem .55rem;font-size:.875rem;line-height:1.2;transition:border-color .15s,background-color .15s}select:hover{border-color:#3975b9}select:focus{border-color:#3975b9;outline:2px solid #3975b9}select:disabled{color:#929c9f;cursor:not-allowed;background:#202425;border-color:#2a2a34}select.small{padding:.25rem 2rem .25rem .45rem;font-size:.8rem}select.block{width:100%}input[type=checkbox][role=switch]{box-sizing:border-box;appearance:none;cursor:pointer;background:#202425;border:1px solid #515a60;border-radius:999px;flex:none;width:2.25rem;height:1.25rem;margin:0;padding:0;transition:background-color .15s,border-color .15s;position:relative}input[type=checkbox][role=switch]:after{content:"";background:#edf0eeb8;border-radius:50%;width:.85rem;height:.85rem;transition:transform .15s,background-color .15s;position:absolute;top:2px;left:2px}input[type=checkbox][role=switch]:checked{background:#3975b9b8;border-color:#3975b9}input[type=checkbox][role=switch]:checked:after{background:#fff;transform:translate(1rem)}input[type=checkbox][role=switch]:focus-visible{outline-offset:2px;border-color:#3975b9;outline:2px solid #3975b9}input[type=checkbox][role=switch]:disabled{opacity:.45;cursor:not-allowed}input[type=checkbox][role=switch].is-inherited{border-color:#3975b980;box-shadow:inset 0 0 0 1px #3975b933}@media (prefers-reduced-motion:reduce){input[type=checkbox][role=switch],input[type=checkbox][role=switch]:after{transition:none}}@media (forced-colors:active){input[type=checkbox][role=switch]{border-color:buttontext}input[type=checkbox][role=switch]:after{background:buttontext}input[type=checkbox][role=switch]:checked{background:highlight}input[type=checkbox][role=switch]:checked:after{background:highlighttext}}input[type=color]{cursor:pointer;background:#2b3032;border:1px solid #515a60;border-radius:4px;width:72px;height:30px;padding:0}input[type=color]:hover{border-color:#3975b9}input[type=color]:focus{border-color:#3975b9;outline:2px solid #3975b9}button.delete-button,label.delete-button.label-button{white-space:normal;letter-spacing:0;min-width:0;max-width:100%}button.delete-button svg,label.delete-button.label-button svg{flex:none}button.delete-button span,label.delete-button.label-button span{overflow-wrap:anywhere;min-width:0}button,label.label-button{color:#edf0ee;letter-spacing:.5px;cursor:pointer;appearance:none;box-sizing:border-box;background:#333c41;border:1px solid #3b3d55;border-radius:5px;justify-content:center;align-items:center;gap:.25rem;padding:.45rem .75rem;font-family:Open Sans,Arial,sans-serif;font-size:.8rem;font-weight:600;line-height:1.2;transition:background-color .15s,border-color .15s,transform .1s;display:inline-flex}button:hover,label.label-button:hover{background:#3a3d58}button:active,label.label-button:active{transform:translateY(1px)}button:focus,label.label-button:focus{border-color:#3975b9;outline:2px solid #3975b9}button:disabled,label.label-button:disabled{color:#929c9f;cursor:not-allowed;background:#202425;border-color:#2a2a34;transform:none}button:disabled:hover,label.label-button:disabled:hover{background:#202425}button.delete,label.delete.label-button,button.remove,label.remove.label-button{color:#300;background:#ffefef;border-color:#ffb4b4}button.delete:hover,label.delete.label-button:hover,button.remove:hover,label.remove.label-button:hover{filter:brightness(.95)}button.highlight,label.highlight.label-button{color:#fff;background:#3975b9}button.highlight:hover,label.highlight.label-button:hover{filter:brightness(1.1)}button.highlight:disabled,label.highlight.label-button:disabled{color:#929c9f;filter:none;background:#202425;border-color:#2a2a34}button.small,label.small.label-button{padding:.25rem .5rem;font-size:.75rem}label.label-button{text-transform:inherit;margin-bottom:0}label.label-button:focus-within{border-color:#3975b9;outline:2px solid #3975b9}.text-alignment-control{flex-direction:column;gap:.4rem;display:flex}.text-alignment-control__axis{grid-template-columns:4.8rem auto 1.75rem;align-items:center;gap:.4rem;display:grid}.text-alignment-control__axis-label{color:#edf0ee9e;font-size:.68rem}.text-alignment-control__buttons{width:fit-content;display:inline-flex}.text-alignment-control__buttons button,.text-alignment-control__buttons label.label-button{border-radius:0;width:2rem;height:1.9rem;padding:0}.text-alignment-control__buttons button:first-child,.text-alignment-control__buttons label.label-button:first-child{border-radius:4px 0 0 4px}.text-alignment-control__buttons button:last-child,.text-alignment-control__buttons label.label-button:last-child{border-radius:0 4px 4px 0}.text-alignment-control__buttons button+button,.text-alignment-control__buttons label.label-button+button,.text-alignment-control__buttons button+label.label-button,.text-alignment-control__buttons label.label-button+label.label-button{margin-left:-1px}.text-alignment-control__buttons button.is-active,.text-alignment-control__buttons label.is-active.label-button{z-index:1;color:#fff;background:#3975b9;border-color:#3975b9;position:relative}.text-alignment-control__buttons button.is-inherited,.text-alignment-control__buttons label.is-inherited.label-button{color:#b8c1ff;background:#3975b91f;box-shadow:inset 0 0 0 1px #3975b973}.text-alignment-control__reset{color:#edf0ee9e;background:0 0;border-color:#0000;width:1.75rem;height:1.75rem;padding:0}.pane-container{flex-wrap:wrap;place-content:flex-start center;align-items:flex-start;gap:1.5rem;padding:1.25rem;display:flex}.pane{box-sizing:border-box;background:#1f1f28;border:1px solid #2c2c36;border-radius:16px;flex-direction:column;flex:400px;gap:1rem;min-width:300px;max-width:700px;padding:1rem 1.1rem 1.35rem;display:flex;position:relative}.pane header{letter-spacing:.5px;text-align:center;border-bottom:1px solid #ffffff14;gap:.75rem;margin:0 0 .5rem;padding-bottom:.35rem;font-size:1rem;font-weight:600;display:block}.pane header.extra{margin-top:1rem}.pane.no-bg{background:0 0;border:none}.pane.tight-top{padding-top:0}.pane.w400{flex:0 0 400px;width:400px;min-width:400px;max-width:400px}.pane.w600{flex:0 0 600px;width:600px;min-width:600px;max-width:600px}.pane.w700{flex:0 0 700px;width:700px;min-width:700px;max-width:700px}.selectable-button{cursor:pointer;background:#ffffff05;border:1px solid #394145;border-radius:8px;flex:100px;align-items:center;gap:.4rem;min-width:100px;max-width:140px;padding:.35rem .55rem;font-size:.8rem;transition:background-color .15s,border-color .15s;display:flex}.selectable-button:hover{background:#ffffff0d;border-color:#515a60}.selectable-button:has(:focus-visible){outline-offset:2px;border-color:#3975b9;outline:2px solid #3975b9}.selectable-button.active{background:#3975b92e;border-color:#3975b9}.selectable-button.active:hover{background:#3975b938}.selectable-button__checkbox{cursor:pointer;flex-shrink:0;margin:0}.selectable-button__warning{color:#ffd27a;border:1px solid #d59a2a;border-radius:50%;flex:none;justify-content:center;align-items:center;width:1rem;height:1rem;font-size:.65rem;font-weight:700;display:inline-flex}.selectable-button__action{min-width:0;color:inherit;font:inherit;text-align:left;box-shadow:none;background:0 0;border:0;border-radius:0;flex:1;padding:0}.selectable-button__action:hover,.selectable-button__action:active,.selectable-button__action:focus{box-shadow:none;background:0 0;border:0;outline:none;transform:none}.selectable-button__label{white-space:nowrap;text-overflow:ellipsis;flex:1;font-weight:600;overflow:hidden}.selectable-button.compact{min-width:100px;max-width:140px;padding:.25rem .4rem;font-size:.65rem}.selectable-button.large{min-width:140px;max-width:200px;padding:.5rem .75rem;font-size:.8rem}.selectable-button.full-width{max-width:none}.selectable-button.list-row{width:100%;min-width:0;min-height:var(--selectable-row-height,2.6rem);padding:var(--selectable-row-padding,.2rem .5rem);box-sizing:border-box;border-radius:5px;flex:none;font-size:.82rem}div .flow-row{gap:.5rem;margin:.5rem 0 1rem;display:flex}.layout{flex-flow:wrap;flex:1;place-content:flex-start center;align-items:flex-start;gap:1.5rem;padding:1.25rem;display:flex}@media (width<=900px){.saved-gallery{order:3;width:100%}}.saved-gallery{background:#f8f8f8;border:1px solid #ddd;border-radius:4px;max-height:100%;padding:.5rem;overflow-y:auto}.controls{background:#222526;border:1px solid #2c2c36;border-radius:8px;width:600px;padding:1rem}.controls h2{letter-spacing:.5px;margin-top:0;font-size:1.1rem}.controls>*+*{border-top:1px solid #515a60;margin-top:.75rem;padding-top:.75rem}.controls .collapsible-section:first-child{border-top:none;margin-top:0;padding-top:0}.collapsible-section{border-top:1px solid #515a60;margin-top:.5rem;padding-top:.5rem}.section-add-row{justify-content:flex-end;align-items:center;gap:.5rem;margin-bottom:.4rem;display:flex}.collapsible-section__header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.collapsible-section__header-controls{opacity:0;pointer-events:none;align-items:center;gap:.5rem;transition:opacity .15s,transform .15s;display:flex;transform:translateY(-6px)}.collapsible-section__header-controls.open{opacity:1;pointer-events:auto;transform:translateY(0)}.collapsible-toggle{cursor:pointer;background:0 0;border:none;width:28px;height:28px;padding:0;font-size:14px}.collapsible-toggle:focus-visible{outline-offset:2px;border-color:#3975b9;border-radius:4px;outline:2px solid #3975b9}.collapsible-toggle{justify-content:center;align-items:center;padding:6px;transition:transform .15s;display:inline-flex}.collapsible-toggle svg{transform-origin:50%;width:12px;height:12px;transition:transform .15s;display:block}.collapsible-toggle.open svg{transform:rotate(90deg)}.collapsible-section__title{font-size:.95rem;font-weight:600}.collapsible-section__body{opacity:1;transition:max-height .2s cubic-bezier(.2,.9,.25,1),opacity .15s;overflow:hidden}.collapsible-section__body.collapsed{opacity:0;max-height:0;overflow:hidden}.collapsible-section__body.expanded{opacity:1;max-height:5000px;overflow-y:auto}.bg-uploader{margin-top:.5rem}.bg-uploader__row{align-items:center;gap:.35rem;padding:.25rem 0;display:flex}.bg-uploader__thumb{object-fit:cover;background:linear-gradient(#2b303280,#22252680);border:1px solid #394145;border-radius:6px;width:48px;height:48px}.bg-uploader__placeholder{border:1px dashed #394145;border-radius:6px;width:48px;height:48px;display:inline-block}.bg-uploader__btn{justify-content:center;align-items:center;width:32px;height:32px;padding:.25rem;font-size:14px;display:inline-flex}.tpl-settings{flex-direction:column;gap:.5rem;display:flex}.tpl-settings__row-inline{align-items:center;gap:.5rem;margin-top:.35rem;display:flex}.tpl-settings__label-muted{opacity:.85;font-size:.8rem}.tpl-settings__percent{opacity:.7;font-size:.8rem}.tpl-section{margin-top:.6rem}.tpl-section__header{align-items:center;gap:.4rem;display:flex}.tpl-presets{flex-wrap:wrap;align-items:stretch;gap:.5rem;display:flex}.tpl-preset-btn{border-radius:6px;flex-direction:column;justify-content:center;align-items:center;min-width:96px;padding:.35rem .6rem;display:inline-flex}.tpl-preset-btn small{opacity:.8}.tpl-size-row,.tpl-size-controls{align-items:center;gap:.75rem;display:flex}.tpl-action-btn{justify-content:center;align-items:center;min-width:72px;height:36px;padding:.35rem .5rem;font-size:.9rem;display:inline-flex}.icon-btn{justify-content:center;align-items:center;width:32px;height:32px;padding:.15rem;font-size:14px;display:inline-flex}@media (width<=920px){.controls{width:100%;max-width:none}}input[type=text]{color:#edf0ee;background:#2b3032;border:1px solid #515a60;border-radius:4px;padding:.35rem .55rem;font-size:.875rem;line-height:1.2}input[type=text]:focus{border-color:#f1d78c;outline:2px solid #f1d78c}.text-input,.text-input--small{color:#edf0ee;background:#2b3032;border:1px solid #515a60;border-radius:4px;padding:.35rem .55rem;font-size:.875rem;line-height:1.2}.text-input--small{padding:.35rem .55rem;font-size:.8rem}.tpl-font-item{background:#2b30320f;border:1px solid #394145;border-radius:4px;align-items:flex-start;gap:.5rem;padding:.4rem;display:flex}.tpl-font-item__main{flex-direction:column;flex:1;gap:.25rem;min-width:0;display:flex}.tpl-font-item__row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.tpl-font-item__row.no-wrap{flex-wrap:nowrap}.tpl-font-item__controls{flex:auto;align-items:center;gap:.5rem;display:flex}.tpl-font-item__preview{align-items:center;display:flex}.flex-row{display:flex}.flex-col{flex-direction:column;display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-wrap{flex-wrap:wrap}.flex-1,.flex-grow{flex:auto}.gap-025{gap:.25rem}.gap-035{gap:.35rem}.gap-05{gap:.5rem}.gap-075{gap:.75rem}.gap-04{gap:.4rem}.w-fixed-sm{flex:none;width:5.2rem}.mb-05{margin-bottom:.5rem}.mt-05{margin-top:.5rem}.py-02{padding-top:.2rem;padding-bottom:.2rem}.tiny-text{opacity:.7;font-size:.65rem}.btn--small{padding:.2rem .45rem;font-size:.7rem;line-height:1.1}.btn--block{text-align:left;justify-content:flex-start;width:100%;display:inline-flex}.button-row{gap:.5rem;margin:.5rem 0 1rem;display:flex}textarea{color:#edf0ee;resize:vertical;background:#2b3032;border:1px solid #515a60;border-radius:4px;min-height:90px;padding:.5rem .6rem;font-family:Open Sans,Arial,sans-serif;font-size:.875rem;line-height:1.3}textarea:focus{border-color:#f1d78c;outline:2px solid #f1d78c}.canvas-wrapper{justify-content:center;align-items:flex-start;display:flex}canvas{cursor:default;background:#fff;border-radius:12px;box-shadow:0 4px 8px #0009,0 0 0 1px #394145}.kw-thumb{object-fit:contain;background:#222;border:1px solid #ddd;border-radius:4px;width:24px;height:24px}.kw-thumb--placeholder{background:0 0;border:1px dashed #ddd;display:inline-block}.import-impact p,.import-impact details{margin:.5rem 0}@media (width<=420px){.import-export-modal--review .modal-body,.import-export-modal--review .import-review-context{padding:.5rem .75rem}.import-export-modal--review .import-impact-total{font-size:.8rem}.import-export-modal--review .import-impact-table th:first-child{width:34%}.import-export-modal--review .import-impact-table thead th{white-space:nowrap;padding:.25rem}.import-export-modal--review .import-review-actions{grid-template-columns:1fr 1fr 1.7fr;gap:.375rem;padding:.5rem;display:grid}.import-export-modal--review .import-review-actions>button{gap:.25rem;min-width:0;min-height:44px;margin:0;padding:.375rem;font-size:.8rem}}.import-export-modal .btn-primary,.import-export-modal .btn-primary:hover:not(:disabled){background:#3975b9;border-color:#3975b9}.app-startup-status{color:#edf0eeb8;place-items:center;min-height:100vh;display:grid}.library-readiness{box-sizing:border-box;overflow-wrap:anywhere;align-content:center;justify-items:stretch;gap:1rem;width:min(100%,42rem);margin-inline:auto;padding:1.5rem}.library-readiness h2{margin:0;font-size:1.5rem;line-height:1.3}.library-readiness p{margin:0}.library-readiness progress{width:100%}.library-update-actions{flex-wrap:wrap;gap:.75rem;display:flex}.library-update-actions button{align-items:center;gap:.5rem;display:inline-flex}.image-migration-notice{z-index:1100;box-sizing:border-box;color:#edf0ee;background:linear-gradient(135deg,#262d28,#171917);border:1px solid #4c4633;border-radius:8px;gap:.65rem;width:min(22rem,100vw - 2rem);padding:.9rem 1rem;display:grid;position:fixed;bottom:1rem;right:1rem;box-shadow:0 4px 8px #0009,0 0 0 1px #394145}.image-migration-notice__heading{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.image-migration-notice__heading strong{font-size:.875rem}.image-migration-notice__heading span{color:#f2c14e;font-variant-numeric:tabular-nums;flex:none;font-size:.8rem}.image-migration-notice__track{background:#ffffff1f;border-radius:4px;height:7px;overflow:hidden}.image-migration-notice__fill{border-radius:inherit;background:#2f9b7d;height:100%;transition:width .15s ease-out}.image-migration-notice__detail{color:#edf0eeb8;font-size:.8rem}.image-migration-notice--error{border-color:#f44336b3;padding-right:2.75rem}.image-migration-notice__close{color:#edf0ee;cursor:pointer;background:0 0;border:0;border-radius:4px;width:1.75rem;height:1.75rem;padding:0;font-size:1.25rem;line-height:1;position:absolute;top:.5rem;right:.5rem}.image-migration-notice__close:hover{background:#ffffff1a}@media (width<=420px){.image-migration-notice{width:auto;bottom:.75rem;left:.75rem;right:.75rem}}.modal-dialog.image-crop-dialog{box-sizing:border-box;width:min(46rem,100vw - 2rem);max-width:46rem;max-height:calc(100dvh - 2rem)}.modal-dialog.image-crop-dialog .modal-header{flex-shrink:0}.image-crop-dialog__body{grid-auto-rows:max-content;align-content:start;gap:1rem;min-height:0;padding:1rem 1.25rem;display:grid;overflow-y:auto}.image-crop-dialog__stage{box-sizing:border-box;width:var(--image-crop-stage-width);background-color:#111412;background-image:linear-gradient(45deg,#ffffff0b 25%,#0000 25% 75%,#ffffff0b 75%),linear-gradient(45deg,#ffffff0b 25%,#0000 25% 75%,#ffffff0b 75%),none;background-position:0 0,12px 12px;background-repeat:repeat,repeat,repeat;background-size:24px 24px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #394145;border-radius:4px;justify-self:center;position:relative;overflow:hidden}.image-crop-dialog__stage>button{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.image-crop-dialog__stretch-preview{object-fit:fill;width:100%;height:100%;display:block}.image-crop-dialog__mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;display:grid}.image-crop-dialog__mode button[aria-pressed=true]{background:#3975b92e;border-color:#3975b9}.image-crop-dialog__controls,.image-crop-dialog__zoom,.image-crop-dialog__actions{flex-wrap:wrap;flex-shrink:0;align-items:center;display:flex}.image-crop-dialog__controls{gap:1rem}.image-crop-dialog__zoom{flex:1;gap:.75rem}.image-crop-dialog__zoom input{flex:1;min-width:0}.image-crop-dialog__zoom output{color:#3975b9;font-variant-numeric:tabular-nums;text-align:right;width:3.5rem}.image-crop-dialog__warning{color:#edf0eeb3;margin:0;font-size:.8rem}.image-crop-dialog__actions{border-top:1px solid #394145;justify-content:flex-end;gap:.75rem;padding:1rem 1.25rem}.image-crop-dialog__actions .delete:first-child{margin-right:auto}@media (width<=540px){.modal-dialog.image-crop-dialog{width:calc(100vw - 1rem);max-height:calc(100vh - 1rem)}.image-crop-dialog__body{padding:.75rem}.image-crop-dialog__stage{width:var(--image-crop-stage-mobile-width)}.image-crop-dialog__controls{flex-direction:column;align-items:stretch;gap:.65rem}.image-crop-dialog__controls>button{align-self:flex-end}.image-crop-dialog__actions{padding:.75rem}}.editor-workspace{--editor-navigation-width:17rem;--editor-inspector-width:22rem;box-sizing:border-box;min-width:0;padding:1rem}.editor-workspace__toolbar{z-index:20;margin:0 auto .85rem;position:sticky;top:0}.editor-workspace__toolbar,.editor-workspace__body,.game-manager-toolbar,.game-manager__body{box-sizing:border-box;width:100%;max-width:112rem;margin-inline:auto}.editor-workspace__body{grid-template-columns:var(--editor-navigation-width) minmax(31rem, 1fr) var(--editor-inspector-width);align-items:start;gap:.85rem;margin:0 auto;display:grid}.editor-workspace__panel,.editor-workspace__canvas{box-sizing:border-box;min-width:0}.modal-backdrop.navigation-drawer-backdrop{box-sizing:border-box;justify-content:flex-start;align-items:flex-start;padding:.5rem}.navigation-drawer{overscroll-behavior:contain;box-sizing:border-box;background:#222526;border:1px solid #394145;border-radius:6px;width:min(24rem,100vw - 1rem);height:calc(100dvh - 1rem);overflow-y:auto}.navigation-drawer .editor-workspace__navigation,.navigation-drawer .game-manager-games{width:100%;height:auto;max-height:none;box-shadow:none;border:0;display:block;position:static;overflow:visible}.navigation-drawer .editor-panel-heading,.navigation-drawer .game-manager-panel-heading{z-index:1;background:#222526;position:sticky;top:0}.navigation-drawer .card-browser,.navigation-drawer .saved-instance-gallery-container,.navigation-drawer .game-manager-games__list,.navigation-drawer .template-structure__tree{max-height:none;overflow:visible}.navigation-drawer .template-structure{height:auto}.navigation-drawer .workspace-navigation-close{display:inline-flex}.navigation-drawer .game-manager-games__list{grid-template-columns:minmax(0,1fr)}.editor-workspace__panel{background:#222526;border:1px solid #394145;border-radius:8px;flex-direction:column;max-height:calc(100vh - 7rem);display:flex;overflow:hidden;box-shadow:0 10px 28px #00000038}.editor-workspace__navigation,.editor-workspace__inspector{position:sticky;top:5.7rem}.editor-workspace__canvas{justify-content:center;min-height:30rem;display:flex}.inspector-tabs{grid-template-columns:repeat(var(--inspector-tab-count,2), minmax(0, 1fr));background:#2b30326b;border-bottom:1px solid #394145;gap:.3rem;padding:.45rem;display:grid}.inspector-tabs.inspector-tabs--compact{background:0 0;flex-wrap:wrap;justify-content:flex-start;gap:.25rem;padding:0;display:flex}.inspector-tabs.inspector-tabs--compact .inspector-tabs__tab{background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:0 auto;width:auto;padding:.65rem .9rem}.inspector-tabs.inspector-tabs--compact .inspector-tabs__tab.is-active{background:#3975b91a;border-bottom-color:#3975b9}.inspector-tabs__tab{letter-spacing:0;overflow-wrap:anywhere;color:#edf0eead;background:0 0;border-color:#0000;min-width:0;padding:.55rem .65rem}.inspector-tabs__tab.is-active{color:#edf0ee;background:#2b3032;border-color:#515a60;box-shadow:inset 0 -2px #3975b9}.inspector-section{border-bottom:1px solid #394145;padding:.9rem}.inspector-section:last-child{border-bottom:0}.inspector-section__heading{justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.8rem;display:flex}.inspector-section__heading h3{letter-spacing:0;align-items:center;gap:.35rem;margin:0;font-size:.9rem;display:flex}.inspector-section__heading p{color:#edf0ee94;margin:.2rem 0 0;font-size:.72rem;line-height:1.35}.inspector-section__actions{flex:none;gap:.35rem;display:flex}.inspector-section__body{flex-direction:column;gap:.7rem;display:flex}.property-row{text-transform:none;grid-template-columns:minmax(6.8rem,.8fr) minmax(0,1.2fr);align-items:center;gap:.7rem;margin:0;display:grid}.property-row--stacked{grid-template-columns:1fr;align-items:stretch;gap:.35rem}.property-row__label{color:#edf0eec7;text-transform:none;flex-direction:column;font-size:.8rem;line-height:1.3;display:flex}.property-row__label small{color:#edf0eeb8;margin-top:.12rem;font-size:.75rem;font-weight:400}.property-row__control{align-items:center;gap:.35rem;min-width:0;display:flex}.property-row__control>input:not([type=checkbox]):not([type=color]),.property-row__control>select,.property-row__control>textarea{box-sizing:border-box;width:100%;min-width:0}.property-row__reset{color:#edf0ee9e;background:0 0;border-color:#0000;flex:0 0 1.75rem;width:1.75rem;height:1.75rem;padding:0}.action-menu{flex:none;display:inline-flex}.action-menu__trigger{width:2.25rem;padding-inline:0}.action-menu__trigger.is-unavailable{color:#929c9f;opacity:.45;background:#202425;border-color:#2a2a34}.action-menu__trigger.is-unavailable:not(:disabled){cursor:pointer}.action-menu__trigger.is-unavailable:hover:not(:disabled){filter:none;background:#202425}.action-menu--split>button:first-child{border-radius:5px 0 0 5px}.action-menu--split>button:last-of-type{border-left:0;border-radius:0 5px 5px 0}.action-menu__panel{z-index:1200;box-sizing:border-box;background:#222526;border:1px solid #515a60;border-radius:6px;max-height:calc(100dvh - 6rem);padding:.35rem;position:fixed;overflow-y:auto;box-shadow:0 12px 30px #0006}.action-menu__panel button{text-align:left;letter-spacing:0;background:0 0;border-color:#0000;justify-content:flex-start;width:100%;min-height:2.5rem}.action-menu__panel button:hover:not(:disabled),.action-menu__panel button:focus-visible{background:#2b3032}.action-menu__panel span{overflow-wrap:anywhere;flex-direction:column;min-width:0;display:flex}.action-menu__panel small{color:#edf0eea6;margin-top:.2rem;font-weight:400}.action-menu__danger{color:#ffb5b5}.action-menu__check{margin-left:auto}.action-menu__panel svg{flex-shrink:0}.shared-dialog{box-sizing:border-box;max-height:calc(100dvh - 2rem)}.shared-dialog--wide{width:min(62rem,100vw - 2rem);max-width:62rem}.shared-dialog__actions{border-top:1px solid #394145;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;padding:1rem;display:flex}.shared-dialog .modal-header,.shared-dialog .shared-dialog__actions{flex-shrink:0}.shared-dialog .modal-body{overflow-wrap:anywhere;min-height:0}.shared-dialog .modal-body>p{white-space:pre-line}.shared-dialog h2{overflow-wrap:anywhere}.editor-command-bar{box-sizing:border-box;background:#222526;border:1px solid #394145;border-radius:6px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.65rem;padding:.7rem .9rem;display:grid}.editor-command-bar__identity-group{align-items:center;gap:.65rem;min-width:0;display:flex}.editor-command-bar__identity{flex:1;min-width:0}.editor-command-bar__identity>span{color:#edf0eea6;font-size:.75rem}.editor-command-bar h2{overflow-wrap:anywhere;margin:.1rem 0 0;font-size:1rem}.editor-command-bar__draft{flex-wrap:wrap;justify-content:center;align-items:center;gap:.4rem;min-width:0;display:flex}.editor-command-bar__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.45rem;min-width:0;display:flex}.editor-command-bar button{letter-spacing:0;min-height:2.4rem}@media (width<=1200px){.editor-command-bar{gap:.5rem}.editor-command-bar .editor-action-label{display:none}.editor-command-bar button{min-width:2.5rem;padding-inline:.5rem}.editor-command-bar .action-menu__trigger,.editor-command-bar .editor-icon-button{width:2.5rem;padding-inline:0}.editor-command-bar__actions{gap:.25rem}}@media (width<=720px){.editor-command-bar{grid-template-columns:minmax(0,1fr) auto auto}.editor-command-bar__identity-group{grid-area:1/1;padding-bottom:1.4rem}.editor-command-bar__draft{display:contents}.editor-command-bar__draft>.editor-draft-status{white-space:normal;grid-area:1/1;align-self:end}.editor-command-bar__draft>.action-menu,.editor-command-bar__draft>.edit-action--save{grid-area:1/2}.editor-command-bar__draft>.edit-action--discard{grid-area:1/3}.editor-command-bar__editing-caption{display:none}.editor-command-bar__actions{grid-area:2/1/auto/-1}}.editor-draft-status{color:#b7d5c6;white-space:nowrap;font-size:.8rem}.editor-draft-status.is-dirty{color:#f4cf72}.card-size-label{font-style:normal}.card-size-label--custom{color:#d6bc80}.property-row__label--help{flex-direction:row;align-items:center;gap:.35rem}.help-tip{color:#bcc9cf;background:0 0;border:0;border-radius:4px;flex:none;justify-content:center;align-items:center;width:1.5rem;height:1.5rem;padding:0;display:inline-flex}.help-tip:hover,.help-tip:focus-visible{color:#fff;background:#2b3032}.help-tip__content{z-index:2000;box-sizing:border-box;color:#edf0ee;overflow-wrap:anywhere;background:#30383c;border:1px solid #68777e;border-radius:6px;padding:.7rem .85rem;font-size:.8rem;line-height:1.5;position:fixed;box-shadow:0 4px 8px #0009,0 0 0 1px #394145}.editor-icon-button{flex:none;width:2.5rem;height:2.5rem;padding:0}.editor-icon-button--danger{color:#ff8a8a;background:#b42d2d14;border-color:#ff70706b}.editor-icon-button--danger:hover:not(:disabled){color:#faa;background:#b42d2d33;border-color:#ff7070b3}input.editor-name-input{box-sizing:border-box;color:#edf0ee;background:0 0;border-color:#0000;width:100%;min-width:0;padding:.25rem .35rem;font-size:1.05rem;font-weight:700}input.editor-name-input:hover:not(:disabled),input.editor-name-input:focus{background:#2b3032b3;border-color:#515a60}@media (width<=720px){.editor-command-bar button,.editor-icon-button{min-height:2.75rem}}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.workspace-view-tabs,.workspace-navigation-close,[data-workspace-mode=tabs] .workspace-navigation-toggle{display:none}[data-workspace-mode=tabs] .workspace-view-tabs{top:var(--editor-toolbar-height,7rem);z-index:15;background:#151718;margin-bottom:.5rem;display:block;position:sticky}.editor-workspace[data-workspace-mode] .editor-workspace__body>[hidden],.navigation-drawer>[hidden]{display:none}.editor-workspace[data-workspace-mode=tabs] .editor-workspace__body{display:block}.editor-workspace[data-workspace-mode=tabs] .editor-workspace__panel,.editor-workspace[data-workspace-mode=tabs] .editor-workspace__canvas{width:100%;height:auto;min-height:0;max-height:none;position:static}.editor-workspace[data-workspace-mode=tabs] .editor-workspace__navigation,.editor-workspace[data-workspace-mode=tabs] .editor-workspace__inspector{display:flex}.editor-workspace[data-workspace-mode=tabs] .template-structure,.editor-workspace[data-workspace-mode=tabs] .template-inspector{height:auto}.editor-workspace[data-workspace-mode=tabs] .template-structure__tree,.editor-workspace[data-workspace-mode=tabs] .template-inspector__content{overflow:visible}.editor-workspace[data-workspace-mode=drawer] .editor-workspace__body,.editor-workspace[data-workspace-mode=columns][data-navigation-open=false] .editor-workspace__body{grid-template-columns:minmax(0, 1fr) var(--editor-inspector-width)}@media (width<=896px){.editor-workspace[data-workspace-mode] .editor-workspace__body{display:block}.editor-workspace[data-workspace-mode] .editor-workspace__panel,.editor-workspace[data-workspace-mode] .editor-workspace__canvas{width:100%;min-width:0;max-width:100%}}.delete-button{min-width:0;max-width:100%}.delete-button>svg{flex-shrink:0}.delete-button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.resource-impact{overflow-wrap:anywhere;gap:.5rem;margin-block:.75rem;font-size:.875rem;display:grid}.resource-impact__list{gap:.25rem;max-height:8rem;padding-inline-start:.75rem;display:grid;overflow:auto}.feedback-notice{box-sizing:border-box;letter-spacing:0;background:#2b3032;border:1px solid #515a60;border-radius:4px;flex-wrap:wrap;align-items:flex-start;gap:.55rem;min-width:0;margin-block:.65rem;padding:.65rem;font-size:.8rem;line-height:1.5;display:flex}.feedback-notice--error{color:#ffc7c7;background:#3b2222;border-color:#ae5959}.feedback-notice--success{color:#c3e8d4;background:#23392d;border-color:#508a68}.feedback-notice__icon{flex:none;margin-top:.15rem}.feedback-notice__content{overflow-wrap:anywhere;white-space:pre-line;flex:1;min-width:0}.feedback-notice__content p:first-child{margin-top:0}.feedback-notice__content p:last-child{margin-bottom:0}.feedback-notice__actions{flex-wrap:wrap;gap:.4rem;display:flex}.feedback-notice__close{background:0 0;border-color:#0000;flex:none;min-width:1.8rem;min-height:1.8rem;padding:.25rem}.feedback-notice--floating{z-index:950;width:min(34rem,100vw - 2rem);margin:0;position:fixed;bottom:1rem;right:1rem;box-shadow:0 4px 8px #0009,0 0 0 1px #394145}.game-manager-empty-page{text-align:center;overflow-wrap:anywhere;background:#222526bf;align-content:center;justify-items:center;gap:.75rem;min-height:16rem;padding:1.5rem;display:grid}.game-manager-empty-page h2{margin:0 0 .75rem;font-size:1.1rem}.game-manager-empty-page progress{width:min(18rem,100%)}.game-manager-empty-page button{align-items:center;gap:.5rem;display:inline-flex}.game-manager{flex-direction:column;gap:.75rem;padding:.75rem;display:flex;container:games-workspace/inline-size}.game-manager--games-hidden .game-manager__body{grid-template-columns:minmax(0,1fr)}.game-manager-toolbar{z-index:20;position:sticky;top:0}.game-manager__body{min-height:0;height:var(--editor-body-height,calc(100dvh - 15rem));grid-template-columns:18rem minmax(0,1fr);gap:.85rem;display:grid;position:relative}.game-manager-games,.game-manager-resources{background:#222526;border:1px solid #394145;border-radius:6px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.game-manager-games[hidden]{display:none}.game-manager-panel-heading{border-bottom:1px solid #394145;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem;display:flex}.game-manager-panel-heading h2{margin:0;font-size:1rem}.game-manager-panel-heading small{color:#edf0ee99;font-weight:400}.game-manager-games__search{padding:.6rem}.game-manager-games__search input{box-sizing:border-box;width:100%}.game-manager-games__list,.game-manager-card-grid{margin:0;padding:0;list-style:none}.game-manager-games__list{flex:1;grid-template-columns:minmax(0,1fr);align-content:start;gap:.3rem;min-height:0;padding:0 .55rem .55rem;display:grid;overflow-y:auto}.game-manager-games__list li{min-width:0}.game-manager-games__list button{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:.15rem;width:100%;min-width:0;height:100%;display:flex}.game-manager-games__list button small{color:#edf0eebf;font-size:.75rem}.game-manager-games__list button.is-active{background:#3975b924;border-color:#3975b9;box-shadow:inset 3px 0 #3975b9}.game-manager-games__create{padding:.6rem .6rem 0}.game-manager-resources{container-type:inline-size}.game-manager-resource-toolbar{background:#2b30326b;border-bottom:1px solid #394145;align-items:center;gap:.5rem;padding:.4rem .6rem;display:flex}.game-manager-tabs{background:0 0;border-bottom:0;flex:1;grid-template-columns:repeat(3,minmax(0,10rem));min-width:0;padding:0}.game-manager-resource-create{white-space:nowrap;flex:none;justify-content:center;align-items:center;gap:.35rem;min-height:2.5rem;display:inline-flex}.game-manager-resource-create svg{flex-shrink:0}@container (width<=34rem){.game-manager-resource-create{width:2.5rem;padding:0}.game-manager-resource-create span{display:none}.game-manager-tabs .inspector-tabs__tab{min-width:0;padding-inline:.3rem}}.game-manager-resource-content{flex:1;min-height:0;padding:.8rem;overflow:auto}.game-manager-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(18rem,100%),1fr));gap:.7rem;display:grid}.game-manager-card-grid--resources{grid-template-columns:repeat(auto-fill,minmax(min(18.5rem,100%),1fr))}.game-manager-card{background:#2b30326b;border:1px solid #394145;border-radius:6px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem;min-width:0;padding:.7rem;display:grid}.game-manager-card>button{grid-column:1/-1}.game-manager-card__thumb{width:92px;min-height:120px}.game-manager-card__body{flex-direction:column;gap:.25rem;min-width:0;display:flex}.game-manager-card__body strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.game-manager-card__body span{color:#edf0eebf;font-size:.8rem}.game-manager-card__size{overflow-wrap:anywhere}.game-manager-card--template.is-recent{border-color:#b8a16a;box-shadow:inset 0 0 0 1px #b8a16a33}.game-manager-card__recent{align-items:center;gap:.3rem;min-height:1.15rem;display:flex}.game-manager-card__destinations{flex-wrap:wrap;grid-column:1/-1;gap:.5rem;display:flex}.game-manager-card__destinations button{white-space:nowrap;overflow-wrap:normal;flex:1 0 auto;justify-content:center;align-items:center;gap:.3rem;min-width:0;min-height:2.5rem;padding:.4rem .3rem;font-size:.8rem;display:flex}.game-manager-card__destinations svg{flex:0 0 16px}.game-manager-card__actions{white-space:nowrap;grid-column:1/-1;grid-template-columns:2.5rem minmax(0,1fr) minmax(0,1fr) 2.5rem;align-items:center;gap:.35rem;display:grid}.game-manager-card__actions button{letter-spacing:0;min-height:2.5rem}.game-manager-card--style{grid-template-columns:minmax(0,1fr)}.game-manager-style-sample{box-sizing:border-box;width:100%;height:8.5rem;box-shadow:none;background:#fff;border:0;border-radius:4px;padding:0;display:block;overflow:hidden}.game-manager-symbol-thumb{color:#555;background:#fff;border-radius:4px;justify-content:center;align-items:center;width:4rem;height:4rem;display:flex}.game-manager-symbol-thumb img{object-fit:contain;width:100%;height:100%}.game-manager-empty{color:#edf0ee85;text-align:center;border:1px dashed #515a60;border-radius:6px;flex-direction:column;align-items:center;gap:.25rem;padding:3rem 1rem;display:flex}.game-manager-empty strong{color:#edf0eecc}.game-manager-empty span{font-size:.75rem}@container games-workspace (width>=94rem){.game-manager__body{grid-template-columns:36rem minmax(0,1fr)}.game-manager-games__list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1200px){.game-manager__body{grid-template-columns:minmax(0,1fr)}}@media (width<=720px){.game-manager{padding:.5rem}.game-manager-card__actions{white-space:normal}.game-manager-card__actions button{padding-inline:.35rem}}@media (height<=600px){.game-manager__body{height:auto;min-height:var(--editor-body-height,18rem);align-items:start}.game-manager-resources,.game-manager-resource-content{overflow:visible}}.game-manager[data-workspace-mode=tabs] .game-manager__body{height:auto;display:block}.game-manager[data-workspace-mode=tabs] .game-manager-games,.game-manager[data-workspace-mode=tabs] .game-manager-resources{height:auto;overflow:visible}.game-manager[data-workspace-mode=tabs] .game-manager-games__list,.game-manager[data-workspace-mode=tabs] .game-manager-resource-content{overflow:visible}.game-manager[data-workspace-mode=tabs] .game-manager-games__list{grid-template-columns:minmax(0,1fr)}.game-manager .game-manager__body [hidden]{display:none}.resource-editor-dialog__editing{flex-direction:column;gap:.5rem;min-width:0;display:flex}.resource-editor-dialog__staged{color:#f1d78c;margin-top:.3rem;font-size:.8rem;display:block}.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning{width:min(70rem,100vw - 2rem);max-width:70rem;max-height:calc(100dvh - 2rem)}.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .resource-editor-dialog__body{grid-template-columns:minmax(0,1fr) minmax(20rem,26rem);gap:1.5rem;padding-top:1rem;display:grid}.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .resource-editor-dialog__card-preview{align-self:start;min-width:0;position:sticky;top:0}.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .resource-editor-dialog__form{grid-template-columns:minmax(0,1fr)}.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .resource-editor-dialog__card-preview .tuner-card{width:min(100%, (100dvh - 14rem) * var(--tuner-ratio))}.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .resource-editor-dialog__appearance{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .text-style-weight-control{grid-column:1/-1}@media (width<=760px){.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .resource-editor-dialog__body{grid-template-columns:minmax(0,1fr)}.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .resource-editor-dialog__card-preview{position:static}.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .resource-editor-dialog__card-preview .tuner-card{width:min(100%, 42dvh * var(--tuner-ratio))}.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .resource-editor-dialog__form input,.modal-dialog.resource-editor-dialog.resource-editor-dialog--tuning .resource-editor-dialog__form select{font-size:16px}}.modal-dialog.resource-editor-dialog{width:min(680px,100vw - 2rem);max-width:680px}.modal-dialog.resource-editor-dialog .modal-header{border-bottom:0;padding:.65rem 1.25rem .55rem}.resource-editor-dialog__eyebrow{color:#edf0eebf;letter-spacing:0;text-transform:uppercase;margin-bottom:.2rem;font-size:.75rem;font-weight:700;display:block}.modal-dialog.resource-editor-dialog .resource-editor-dialog__body{flex-direction:column;gap:.5rem;padding:.25rem 1.25rem .75rem;display:flex}.resource-editor-dialog__preview-toolbar{justify-content:flex-end;align-items:center;gap:.65rem;display:flex}.resource-editor-dialog__preview-toolbar strong{color:#edf0eee6;font-size:.8rem}.resource-editor-dialog__preview-toolbar small{color:#edf0eebf;font-size:.75rem}.resource-editor-dialog__preview-label{text-align:right;white-space:nowrap;flex-direction:column;align-items:flex-end;gap:.02rem;display:flex}.resource-editor-dialog__preview-select{color:#edf0eec2;text-transform:none;flex-direction:row;align-items:center;gap:.5rem;margin:0;font-size:.8rem;display:flex}.resource-editor-dialog__preview-select span{white-space:nowrap}.resource-editor-dialog__preview-select select{min-width:11rem}.resource-editor-dialog__background-choices{align-items:center;gap:.35rem;display:flex}.resource-editor-dialog__background-choices>.resource-editor-dialog__background-swatch{border:2px solid #edf0ee47;border-radius:4px;width:1.8rem;min-width:1.8rem;height:1.8rem;padding:0}.resource-editor-dialog__background-choices>.resource-editor-dialog__background-swatch.is-active{border-color:#3975b9;box-shadow:0 0 0 1px #3975b9}.resource-editor-dialog__background-swatch--white{background:#fff}.resource-editor-dialog__background-swatch--light{background:#e1e1e1}.resource-editor-dialog__background-swatch--gray{background:#9297a1}.resource-editor-dialog__background-swatch--dark{background:#181a20}.resource-editor-dialog__custom-background{cursor:pointer;border:1px solid #515a60;border-radius:4px;align-items:center;height:1.8rem;margin:0;display:inline-flex;position:relative;overflow:hidden}.resource-editor-dialog__custom-background.is-active{border-color:#3975b9;box-shadow:0 0 0 1px #3975b9}.resource-editor-dialog__custom-background span{z-index:1;color:#edf0ee;pointer-events:none;padding:0 .4rem 0 .55rem;font-size:.62rem;position:relative}.resource-editor-dialog__custom-background input{z-index:1;cursor:pointer;background:0 0;border:0;width:1.15rem;height:1.15rem;margin-right:.35rem;padding:0;position:relative}.resource-editor-dialog__preview{background:#fff;border:1px solid #394145;border-radius:6px;justify-content:center;align-items:center;min-height:90px;display:flex;overflow:hidden}.resource-editor-dialog__preview canvas{width:100%;height:90px;box-shadow:none;border:0;border-radius:0;display:block}.resource-editor-dialog__preview--text-style{min-height:150px}.resource-editor-dialog__preview--text-style canvas{height:150px}.resource-editor-dialog__symbol-preview{background:#2b30328c;grid-template-columns:64px minmax(0,1fr);justify-content:stretch;gap:.65rem;padding:.6rem;display:grid}.resource-editor-dialog__symbol-preview>canvas{min-width:0}button.resource-editor-dialog__image-button{box-sizing:border-box;color:#364248;background:#edf0ee;border:1px solid #515a60;border-radius:4px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:.2rem;width:64px;min-width:0;height:64px;padding:.3rem;font-size:.65rem;display:flex;position:relative}button.resource-editor-dialog__image-button img{object-fit:contain;width:100%;height:100%}button.resource-editor-dialog__image-button .resource-editor-dialog__image-action{color:#f1d78c;background:#333c41;border-radius:3px 0;place-items:center;width:22px;height:22px;display:grid;position:absolute;bottom:0;right:0}button.resource-editor-dialog__image-button:hover:not(:disabled){border-color:#f1d78c}button.resource-editor-dialog__image-button:focus-visible{outline-offset:2px;outline:2px solid #f1d78c}.resource-editor-dialog__symbol-image{padding:.25rem}.resource-editor-dialog__label-row{align-items:center;gap:.3rem;margin-bottom:.25rem;display:flex}.resource-editor-dialog__label-row>label{margin:0}.text-style-weight-control{min-width:0}.resource-editor-dialog__form{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .8rem;display:grid}.resource-editor-dialog__form label{color:#edf0eec2;text-transform:none;min-width:0;margin:0;font-size:.8rem}.resource-editor-dialog__form input:not([type=checkbox]):not([type=color]),.resource-editor-dialog__form select{box-sizing:border-box;width:100%;min-width:0}.resource-editor-dialog__form input[type=color]{width:100%;height:2.25rem}.resource-editor-dialog__form small{color:#edf0eebf;font-size:.75rem;font-weight:400}.resource-editor-dialog__group{border:1px solid #394145;border-radius:4px;min-width:0;margin:0;padding:.65rem}.resource-editor-dialog__group legend{color:#edf0eec2;padding:0 .3rem;font-size:.8rem;font-weight:700}.resource-editor-dialog__details{gap:.55rem;display:grid}.resource-editor-dialog__check{flex-direction:row;align-self:end;align-items:center;min-height:2.25rem}.resource-editor-dialog__size-range{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .8rem;display:grid}.resource-editor-dialog__size-range small{grid-column:1/-1}.resource-editor-dialog__appearance{grid-column:1/-1;grid-template-columns:minmax(7rem,1fr) auto repeat(2,minmax(6rem,1fr)) minmax(7rem,1fr);align-items:end;gap:.65rem;display:grid}.resource-editor-dialog__keyword-input{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.25rem;font-size:1rem;display:grid}.resource-editor-dialog__form .symbol-rename-choice{border:0;border-top:1px solid #394145;grid-column:1/-1;min-width:0;margin:0;padding:.5rem 0}.resource-editor-dialog__form .symbol-rename-choice legend{padding:0 .35rem 0 0;font-size:.8rem;font-weight:700}.resource-editor-dialog__form .symbol-rename-choice label{flex-direction:row;align-items:center;gap:.5rem;min-height:2.25rem;font-size:.85rem;display:flex}.resource-editor-dialog__form .symbol-rename-choice input[type=radio]{flex:0 0 1rem;width:1rem;height:1rem;margin:0}.symbol-rename-review{overflow-wrap:anywhere;min-width:0}.symbol-rename-review p{margin:.65rem 0}.symbol-rename-review__identity{flex-wrap:wrap;align-items:center;gap:.6rem;margin:0;font-size:1.15rem;display:flex}.symbol-rename-review__identity span{min-width:0;max-width:100%}.symbol-rename-review__identity svg{flex-shrink:0}.symbol-rename-review__counts{border-block:1px solid #394145;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:.9rem 0;padding:.75rem 0;display:grid}.symbol-rename-review__counts dt{color:#edf0eebf;font-size:.8rem}.symbol-rename-review__counts dd{margin:.25rem 0 0;font-size:1.15rem;font-weight:700}.symbol-rename-review summary{cursor:pointer;padding:.5rem 0}.symbol-rename-review ul{padding-left:1.2rem}.symbol-rename-review li{margin-bottom:.65rem}.symbol-rename-review li span{color:#edf0eebf;font-size:.8rem;display:block}.resource-editor-dialog__actions{border-top:1px solid #394145;justify-content:flex-end;gap:.6rem;padding:.65rem 1.25rem;display:flex}.resource-editor-footer{flex-wrap:wrap;flex-shrink:0;align-items:center;min-width:0}.resource-editor-footer__buttons{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.6rem;min-width:0;margin-left:auto;display:flex}.resource-editor-footer__buttons button{white-space:normal;max-width:100%}.resource-impact-summary{color:#edf0eeb3;flex-wrap:wrap;align-items:center;gap:.25rem .5rem;min-width:0;font-size:.75rem;line-height:1.4;display:flex}.resource-impact-summary__details{min-height:2rem;color:inherit;background:0 0;align-items:center;gap:.25rem;padding:.25rem .4rem;font-size:.75rem;display:inline-flex}.resource-impact-summary__details svg{flex-shrink:0}@media (width<=700px){.resource-editor-dialog__preview-toolbar{flex-wrap:wrap;gap:.4rem .65rem}.resource-editor-dialog__preview-select{width:100%}.resource-editor-dialog__preview-select select{flex:1;min-width:0}.resource-editor-dialog__form,.resource-editor-dialog__size-range{grid-template-columns:1fr}.resource-editor-dialog__size-range small{grid-column:auto}.resource-editor-dialog__appearance{grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.resource-editor-dialog__symbol-preview{grid-template-columns:1fr}}@media (width<=430px){.resource-editor-dialog__appearance{grid-template-columns:1fr}}.modal-dialog.cross-game-copy-dialog{width:min(760px,100vw - 2rem);max-width:760px}.cross-game-copy-dialog__body{flex-direction:column;gap:.8rem;padding:1rem 1.25rem;display:flex}.cross-game-copy-dialog__target{grid-template-columns:auto minmax(12rem,1fr);align-items:center;gap:.75rem;display:grid}.cross-game-copy-dialog__target select{width:100%;min-width:0}.cross-game-copy-dialog__target--fixed span{color:#edf0ee94;font-size:.68rem}.cross-game-copy-dialog__target--fixed strong{font-size:.8rem}.cross-game-copy-dialog__conflict-heading{flex-direction:column;gap:.15rem;display:flex}.cross-game-copy-dialog__conflict-heading span{color:#edf0ee94;font-size:.7rem}.cross-game-copy-dialog__comparison{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.7rem;display:grid}.cross-game-copy-dialog__preview-card{background:#2b30326b;border:1px solid #394145;border-radius:6px;flex-direction:column;gap:.35rem;min-width:0;padding:.55rem;display:flex}.cross-game-copy-dialog__preview-card>strong,.cross-game-copy-dialog__preview-card>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cross-game-copy-dialog__preview-card>strong{color:#edf0eeb8;font-size:.65rem}.cross-game-copy-dialog__preview-card>span{font-size:.72rem}.cross-game-copy-dialog__preview-card canvas{width:100%;box-shadow:none;border:0;border-radius:4px;display:block}.cross-game-copy-dialog__arrow{color:#3975b9;font-size:1.5rem;font-weight:700}.cross-game-copy-dialog__symbol-sample{color:#555;background:#e1e1e1;border-radius:4px;justify-content:center;align-items:center;height:7rem;display:flex}.cross-game-copy-dialog__symbol-sample img{object-fit:contain;width:100%;height:100%}.cross-game-copy-dialog__resolutions{border:1px solid #394145;border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:0;padding:.65rem;display:grid}.cross-game-copy-dialog__resolutions legend{color:#edf0eeb8;padding:0 .3rem;font-size:.68rem;font-weight:700}.cross-game-copy-dialog__resolutions>label{cursor:pointer;text-transform:none;border:1px solid #515a60;border-radius:4px;flex-direction:row;align-items:flex-start;gap:.55rem;min-width:0;margin:0;padding:.65rem;display:flex}.cross-game-copy-dialog__resolutions>label.is-selected{background:#3975b914;border-color:#3975b9}.cross-game-copy-dialog__resolutions>label.is-destructive{background:#b42d2d1a;border-color:#ffb4b4}.cross-game-copy-dialog__resolutions>label input{margin-top:.15rem}.cross-game-copy-dialog__resolutions>label span{flex-direction:column;gap:.15rem;min-width:0;display:flex}.cross-game-copy-dialog__resolutions>label strong{font-size:.72rem}.cross-game-copy-dialog__resolutions>label small{color:#edf0ee8c;font-size:.63rem;font-weight:400}.cross-game-copy-dialog__source-summary{width:min(22rem,100%);margin:0 auto}.cross-game-copy-dialog__validation{color:#ff9c9c;font-size:.64rem}@media (width<=650px){.cross-game-copy-dialog__target,.cross-game-copy-dialog__comparison{grid-template-columns:1fr}.cross-game-copy-dialog__arrow{justify-self:center;transform:rotate(90deg)}.cross-game-copy-dialog__resolutions{grid-template-columns:1fr}}.modal-dialog.cross-game-source-dialog{width:min(720px,100vw - 2rem);max-width:720px}.cross-game-source-dialog__body{flex-direction:column;gap:.8rem;padding:1rem 1.25rem;display:flex}.cross-game-source-dialog__game{grid-template-columns:auto minmax(12rem,1fr);align-items:center;gap:.75rem;display:grid}.cross-game-source-dialog__game select{width:100%;min-width:0}.cross-game-source-dialog__resources{grid-template-columns:repeat(auto-fill,minmax(12rem,1fr));gap:.6rem;max-height:24rem;display:grid;overflow-y:auto}.cross-game-source-dialog__resources>button{text-align:left;background:#2b30326b;border-color:#394145;flex-direction:column;gap:.4rem;min-width:0;padding:.55rem;display:flex}.cross-game-source-dialog__resources>button.is-selected{border-color:#3975b9;box-shadow:inset 0 0 0 1px #3975b9}.cross-game-source-dialog__resources>button strong{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:.72rem;overflow:hidden}.cross-game-source-dialog__resources>button canvas{width:100%;box-shadow:none;border:0;border-radius:4px;display:block}.cross-game-source-dialog__symbol{color:#555;background:#e1e1e1;border-radius:4px;justify-content:center;align-items:center;width:100%;height:6rem;display:flex}.cross-game-source-dialog__symbol img{object-fit:contain;width:100%;height:100%}.cross-game-source-dialog__empty{color:#edf0ee94;text-align:center;border:1px dashed #515a60;border-radius:6px;padding:2.5rem 1rem}@media (width<=650px){.cross-game-source-dialog__game,.cross-game-source-dialog__resources{grid-template-columns:1fr}}.resource-picker{grid-template-columns:minmax(0,1fr) 2.1rem;align-items:stretch;gap:.3rem;width:100%;min-width:0;display:grid}.resource-picker:has(>button:nth-child(3)){grid-template-columns:minmax(0,1fr) repeat(2,2.1rem)}.resource-picker select{width:100%;min-width:0}.resource-picker__edit{color:#edf0eeb8;justify-content:center;align-items:center;width:2.1rem;min-width:2.1rem;padding:0;font-size:1rem;display:inline-flex}.resource-picker__edit:hover:not(:disabled){color:#edf0ee}.rich-picker-trigger{text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45rem;width:100%;min-width:0;padding:.42rem .55rem;display:grid}.rich-picker-trigger__value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.rich-picker-trigger__chevron{color:#edf0ee80;font-size:.7rem}.rich-picker-popover{z-index:1300;box-sizing:border-box;background:linear-gradient(#303638,#222526);border:1px solid #515a60;border-radius:6px;flex-direction:column;min-width:0;display:flex;position:fixed;overflow:hidden;box-shadow:0 12px 34px #0000008c}.rich-picker-popover__search{box-sizing:border-box;width:auto;min-width:0;margin:.55rem}.rich-picker-popover__options{min-height:0;padding:0 .55rem .55rem;overflow-y:auto}.rich-picker-ungrouped{display:contents}.rich-picker-group{flex-direction:column;gap:.25rem;display:flex}.rich-picker-group__label{color:#edf0eea6;padding:.5rem .45rem .25rem;font-size:.72rem;font-weight:600}.rich-picker-filters{flex-shrink:0;padding:0 .55rem .55rem}.rich-picker-filters__choices{grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.35fr);gap:.2rem;display:grid}.rich-picker-filters__choices label{box-sizing:border-box;text-transform:none;letter-spacing:0;cursor:pointer;background:0 0;border:1px solid #515a60;border-radius:3px;place-items:center;min-width:0;height:2rem;min-height:0;margin:0;padding:.2rem .1rem;font-size:.75rem;font-weight:500;line-height:1.2;display:grid;position:relative}.rich-picker-filters__choices label span{font:inherit;text-transform:none;letter-spacing:0}.rich-picker-filters__choices label.is-selected{background:#3975b933;border-color:#3975b9}.rich-picker-filters__choices label:focus-within{outline-offset:1px;outline:2px solid #3975b9}.rich-picker-filters__choices label input{opacity:0;width:1px;height:1px;position:absolute}.rich-picker-filters__select{width:100%;display:none}@media (width<=480px),(height<=540px){.rich-picker-filters__choices{display:none}.rich-picker-filters__select{display:block}}.rich-picker-popover--list .rich-picker-popover__options{flex-direction:column;gap:.25rem;display:flex}.rich-picker-popover--grid .rich-picker-popover__options{grid-template-columns:repeat(auto-fill,minmax(5.5rem,1fr));align-content:start;gap:.4rem;display:grid}.rich-picker-option{color:#edf0ee;text-align:left;background:#2b303247;border-color:#0000;min-width:0;padding:.45rem}.rich-picker-option:hover:not(:disabled),.rich-picker-option:focus-visible{background:#3975b91f;border-color:#3975b98c}.rich-picker-option[aria-selected=true]{border-color:#3975b9;box-shadow:inset 0 0 0 1px #3975b9}.rich-picker-popover__empty{color:#edf0ee80;text-align:center;grid-column:1/-1;padding:1.5rem .75rem;font-size:.7rem}.rich-picker-popover__actions{border-top:1px solid #394145;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.4rem;padding:.55rem;display:grid}.rich-picker-popover__actions button{min-width:0}.rich-picker-symbol-option{text-align:center;flex-direction:column;align-items:center;gap:.35rem;min-width:0;display:flex}.rich-picker-symbol-option__image{color:#555;background:#e1e1e1;border-radius:4px;justify-content:center;align-items:center;width:100%;height:4.25rem;font-size:1.25rem;display:flex}.rich-picker-symbol-option__image img{object-fit:contain;width:100%;height:100%}.rich-picker-symbol-option strong,.rich-picker-symbol-value span{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:.66rem;overflow:hidden}.rich-picker-symbol-value{grid-template-columns:1.35rem minmax(0,1fr);align-items:center;gap:.4rem;min-width:0;display:grid}.rich-picker-symbol-value img,.rich-picker-symbol-value i{object-fit:contain;color:#555;background:#e1e1e1;border-radius:2px;justify-content:center;align-items:center;width:1.35rem;height:1.35rem;font-style:normal;display:flex}@media (width<=480px){.rich-picker-popover--grid .rich-picker-popover__options{grid-template-columns:repeat(3,minmax(0,1fr))}}.view-options{flex:none}.view-options .action-menu__trigger{white-space:nowrap;align-items:center;gap:.4rem;width:auto;min-width:36px;height:36px;padding:0 .6rem;display:inline-flex}.view-options.is-advanced .action-menu__trigger{color:#a1d8c4;border-color:#557b6c}.field-ownership{vertical-align:middle;align-items:center;gap:.3rem;font-size:.72rem;line-height:1.3;display:inline-flex}.field-ownership svg{flex:none}.field-ownership.is-template{color:#a1d8c4}.structure-field__name .field-ownership{margin-right:.35rem}.empty-library,.empty-templates{min-width:0;padding:3rem 1.5rem}.empty-library h2,.empty-templates h2{overflow-wrap:anywhere;margin:0 0 .75rem;font-size:1.4rem;line-height:1.35}.empty-library p,.empty-templates p{color:#929c9f;overflow-wrap:anywhere;line-height:1.5}.empty-library__content,.empty-templates__content{max-width:42rem;margin-inline:auto}.empty-library__choices{flex-direction:column;align-items:flex-start;gap:.75rem;margin-top:1.5rem;display:flex}.empty-library__choices button{text-align:left;justify-content:flex-start;gap:.65rem;max-width:100%;padding:.8rem 1rem;line-height:1.5}.empty-library__choices svg{flex-shrink:0}.first-game-form{flex-direction:column;gap:.75rem;display:flex}.first-game-form label{margin:0}.first-game-form input{min-width:0}.first-game-form small{color:#929c9f}.first-game-form__actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;margin-top:.75rem;display:flex}@media (width<=720px){.empty-library,.empty-templates{padding:2rem 1rem}.first-game-form input{font-size:16px}}.shared-dialog.help-dialog{width:min(54rem,100vw - 2rem);max-width:54rem}.shared-dialog.help-dialog .modal-body{flex-direction:column;gap:1rem;display:flex;overflow:hidden}.shared-dialog.help-dialog .help-controls{flex-shrink:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem;display:grid}.shared-dialog.help-dialog label{gap:.25rem;min-width:0;font-size:.8rem;display:grid}.shared-dialog.help-dialog input,.shared-dialog.help-dialog select{box-sizing:border-box;width:100%;min-width:0}.shared-dialog.help-dialog .help-article{overscroll-behavior:contain;overflow-wrap:anywhere;min-height:0;padding-inline-end:.5rem;overflow:auto}.shared-dialog.help-dialog .help-article h2{margin:0 0 .75rem;font-size:1.2rem}.shared-dialog.help-dialog h3{margin:1rem 0 .5rem;font-size:1rem}.shared-dialog.help-dialog p,.shared-dialog.help-dialog li{font-size:.9rem;line-height:1.55}.shared-dialog.help-dialog li+li{margin-top:.6rem}.shared-dialog.help-dialog details{border-top:1px solid #394145;padding-block:.6rem}.shared-dialog.help-dialog summary{cursor:pointer;font-size:.9rem;font-weight:600}.shared-dialog.help-dialog summary:focus-visible{outline-offset:3px;outline:2px solid #3975b9}.shared-dialog.help-dialog a{color:inherit;text-underline-offset:.2em}.shared-dialog.help-dialog .help-storage{border-top:1px solid #515a60;margin-top:1rem}.shared-dialog.help-dialog .help-actions{flex-wrap:wrap;gap:.5rem;display:flex}.shared-dialog.help-dialog .help-actions button{white-space:normal;align-items:center;gap:.4rem;display:inline-flex}@media (width<=600px){.shared-dialog.help-dialog .help-controls{grid-template-columns:minmax(0,1fr)}}.analytics-consent{color:#193d43;background:#dceef0;border-bottom:2px solid #80aeb4;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:.75rem 1.5rem;min-width:0;padding:.85rem 1rem;font-size:.85rem;display:flex}.analytics-consent>div:first-child{flex:24rem;min-width:0}.analytics-consent p{overflow-wrap:anywhere;margin:.25rem 0 0;line-height:1.45}.analytics-consent__actions{flex-wrap:wrap;gap:.5rem;display:flex}.analytics-consent button{white-space:normal;color:#193d43;background:#fff;border:1px solid #547e85;justify-content:center;align-items:center;gap:.35rem;display:inline-flex}.analytics-consent button:hover{background:#c6e1e5}.analytics-consent button:focus-visible{outline-offset:3px;outline:2px solid #193d43}.shared-dialog.help-dialog .analytics-settings{border-top:1px solid #515a60;margin-top:1rem;padding-top:1rem}.shared-dialog.help-dialog .analytics-settings label{align-items:center;gap:.5rem;display:flex}.shared-dialog.help-dialog .analytics-settings input[type=checkbox]{flex:none;width:1.1rem;height:1.1rem}html,body{color:#edf0ee;background:#151718;height:100%;margin:0;font-family:Open Sans,Arial,sans-serif}body{flex-direction:column;display:flex}.app-header{background:linear-gradient(120deg,#f2c14e0d 0 1px,#0000 1px 18px),linear-gradient(135deg,#262d28,#171917 68%,#252019);border-bottom:1px solid #4c4633;grid-template-columns:auto minmax(0,1fr) auto;justify-content:space-between;align-items:center;gap:1.25rem;padding:.65rem 1rem;display:grid;box-shadow:0 6px 18px #0000003d,inset 0 -1px #f2c14e14}.app-header__brand{grid-area:1/1;align-items:center;gap:1rem;min-width:0;display:flex}.app-header__brand .brand-lockup{flex:none;align-items:center;gap:.65rem;display:flex}.app-header__brand .brand-mark{object-fit:contain;filter:drop-shadow(0 3px 3px #00000059);flex:none;width:6rem;height:5rem;display:block}.app-header__brand h1{letter-spacing:0;margin:0;font-family:Bree Serif,Georgia,serif;font-size:1.7rem;font-weight:400;line-height:1.05}.app-header__brand h1 span{color:#f2c14e;display:block}.app-header__controls{grid-area:1/3;grid-template-columns:minmax(8rem,12rem) minmax(8rem,12rem) auto;align-items:end;gap:.75rem;min-width:0;display:grid}.app-header__controls--view-only{grid-template-columns:auto}.app-header__controls label{color:#c6cbc4;letter-spacing:0;flex-direction:column;gap:.35rem;min-width:0;margin:0;font-size:.75rem;display:flex}.app-header__controls .header-selection__control{display:block;position:relative}.app-header__controls .header-selection__control svg{pointer-events:none;color:#b5c8c0;position:absolute;top:50%;right:.7rem;transform:translateY(-50%)}.app-header__controls .header-selection__control:focus-within svg{color:#a1d8c4}.app-header__controls select{text-overflow:ellipsis;background:#252b28;border-color:#4b5750;border-radius:6px;width:100%;min-width:0;max-width:100%;height:2.5rem;padding:.5rem 2.1rem .5rem .7rem;font-size:.85rem}.app-header__controls select:hover{background-color:#2e3832;border-color:#80988c}.app-header__controls select:focus-visible{outline-offset:2px;border-color:#a1d8c4;outline:2px solid #a1d8c4}.app-header__controls .view-options .action-menu__trigger{background:#252b28;border-color:#4b5750;min-width:2.5rem;height:2.5rem}.app-header__controls .view-options .action-menu__trigger:hover{background-color:#2e3832;border-color:#80988c}.app-header .header-utilities{align-items:end;gap:.5rem;display:flex}.app-header .header-backups{white-space:nowrap;justify-content:center;align-items:center;gap:.4rem;height:2.5rem;display:inline-flex}.app-header nav{flex-wrap:nowrap;grid-area:1/2;gap:.5rem;margin:0;font-size:.85rem;display:flex}.app-header nav a{color:#edf0ee;white-space:nowrap;border-radius:6px;padding:.45rem .55rem;text-decoration:none}.app-header nav a:hover{background:#22252699}.app-header nav .active-link{color:#fff;background:#2f7d68;font-weight:600;box-shadow:inset 0 -2px #f2c14e}@media (width<=1450px) and (width>=721px){.app-header{grid-template-columns:minmax(0,1fr) auto;gap:.5rem 1rem}.app-header__brand{display:contents}.app-header .brand-lockup{grid-area:1/1}.app-header__controls{grid-area:1/2;grid-template-columns:minmax(7rem,10rem) minmax(7rem,10rem) auto}.app-header__controls--view-only{grid-template-columns:auto}.app-header .brand-mark{width:5rem;height:4rem}.app-header h1{font-size:1.5rem}.app-header nav{grid-area:2/1/auto/-1;gap:.25rem}.app-header nav a{padding-inline:.65rem}}@media (width>=721px) and (width<=980px){.app-header .header-backups{width:2.5rem;padding:0}.app-header .header-backups span,.app-header .view-options .action-menu__trigger span{display:none}}@media (width<=720px){.app-header{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:.75rem;position:relative}.app-header__brand{flex-direction:column;align-items:stretch;gap:.65rem}.app-header__brand .brand-lockup{gap:.55rem;padding-right:7rem}.app-header__brand .brand-mark{width:3.5rem;height:3rem}.app-header__brand h1{font-size:1.2rem}.app-header nav{grid-area:3/1;gap:.3rem;width:100%}.app-header nav a{text-align:center;flex:1;padding:.45rem .15rem;font-size:.8rem}.app-header__controls{grid-area:2/1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.app-header__controls select{width:100%;font-size:16px}.app-header__controls label{font-size:.75rem}.app-header__controls--view-only{display:contents}.app-header:not(:has(.header-selection)) nav{grid-row:2}.app-header .header-utilities{position:absolute;top:.9rem;right:1rem}.app-header .header-backups{width:2.5rem;padding:0}.app-header .header-backups span,.app-header .view-options .action-menu__trigger span{display:none}}@media (width<=360px){.app-header__brand .brand-lockup{gap:.35rem}.app-header__brand .brand-mark{width:2.5rem;height:2.5rem}.app-header__brand h1{font-size:1.05rem}.app-header nav{gap:.15rem}.app-header nav a{padding-inline:.1rem;font-size:.75rem}}.image-upload-control{align-items:center;gap:.35rem;padding:.25rem 0;display:flex}.image-upload-control__thumb{object-fit:cover;background:linear-gradient(#2b303280,#22252680);border:1px solid #394145;border-radius:6px;width:48px;height:48px}.image-upload-control__placeholder{border:1px dashed #394145;border-radius:6px;width:48px;height:48px;display:inline-block}.image-upload-control__btn{justify-content:center;align-items:center;width:32px;height:32px;padding:.25rem;font-size:14px;display:inline-flex}.image-upload-control__btn--label{width:auto;min-width:6.5rem;padding-inline:.7rem}.image-upload-control__warning{color:#ffd27a;border:1px solid #d59a2a;border-radius:50%;flex:none;justify-content:center;align-items:center;width:1.35rem;height:1.35rem;font-size:.8rem;font-weight:700;display:inline-flex}.font-family-name{align-items:center;width:100%;min-width:0;height:2.25rem;display:flex;overflow:hidden}.font-family-name>span{white-space:nowrap;letter-spacing:0;flex:none;width:max-content;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;display:block}.font-family-picker-trigger{min-width:0;height:2.75rem;padding-block:.15rem}.font-family-picker-trigger .font-family-name{height:2rem}.font-family-picker-popover{height:420px}.font-family-picker-popover .rich-picker-popover__options{overflow-anchor:none;overscroll-behavior:contain;flex:1}.font-family-picker-popover .rich-picker-option{flex-shrink:0;grid-template-columns:minmax(0,1fr) 1rem;align-items:center;gap:.5rem;width:100%;height:2.75rem;padding:.2rem .45rem;display:grid}.font-family-picker-popover .font-family-picker__unchecked{visibility:hidden}.font-family-picker-popover .rich-picker-popover__search{flex-shrink:0}.font-reference .font-canvas{background:#0003;border-radius:4px;width:100%;display:block}.text-style-picker-preview{align-items:center;width:100%;min-width:0;height:36px;display:flex;overflow:hidden}.text-style-picker-preview canvas{letter-spacing:0;border-radius:3px;flex:1;width:100%;min-width:0;display:block}.text-style-picker-placeholder{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.text-style-picker-trigger{height:44px;padding:.2rem .35rem}.text-style-picker-popover .rich-picker-popover__search,.text-style-picker-popover .rich-picker-popover__actions{flex-shrink:0}.text-style-picker-popover .rich-picker-popover__options{overflow-anchor:none;overscroll-behavior:contain}.text-style-picker-popover .rich-picker-option{flex-shrink:0;grid-template-columns:minmax(0,1fr) 1rem;align-items:center;gap:.4rem;width:100%;height:44px;padding:.2rem .35rem;display:grid}.text-style-picker-popover .text-style-picker__unchecked{visibility:hidden}.keyword-reference{flex-direction:column;gap:.5rem;display:flex}.keyword-reference__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.keyword-reference__header header,.keyword-reference__header strong{white-space:nowrap;margin-right:auto;font-size:.78rem}.keyword-reference__actions{grid-template-columns:auto minmax(0,1fr);gap:.3rem;width:100%;display:grid}.keyword-reference__search{box-sizing:border-box;width:100%;min-width:0}.keyword-reference .keyword-list{flex-wrap:wrap;gap:.5rem;display:flex}.keyword-reference .keyword-item{border-radius:4px;align-items:center;gap:.12rem;font-size:.85rem;transition:background-color .15s;display:flex}.keyword-reference .keyword-item:hover{background-color:#ffffff1a}.keyword-reference .keyword-item:active{background-color:#ffffff26}.keyword-reference .keyword-item__insert{background:0 0;border-color:#0000;align-items:center;gap:.3rem;padding:.25rem .4rem;display:flex}.keyword-reference .keyword-item__edit{color:#edf0ee80;opacity:0;background:0 0;border-color:#0000;width:1.5rem;min-width:1.5rem;height:1.5rem;padding:0;transition:opacity .1s}.keyword-reference .keyword-item:hover .keyword-item__edit,.keyword-reference .keyword-item:focus-within .keyword-item__edit{opacity:1}.keyword-reference .keyword-icon{object-fit:contain;pointer-events:none;width:20px;height:20px}.keyword-reference .keyword-text{opacity:.9;pointer-events:none}.keyword-reference__empty{color:#edf0ee80;padding:.5rem;font-size:.7rem}.template-impact-review{overflow-wrap:anywhere;gap:1rem;min-width:0;display:grid}.template-impact-review__items{gap:.75rem;max-height:40vh;padding-right:.5rem;display:grid;overflow-y:auto}.template-impact-review__items [role=listitem]{gap:.2rem;display:grid}.template-editor{--editor-navigation-width:17rem;--editor-inspector-width:23rem}.template-editor .editor-workspace__body{grid-template-columns:var(--editor-navigation-width) minmax(0, 1fr) var(--editor-inspector-width)}@media (height<=600px){.template-editor .editor-workspace__navigation,.template-editor .editor-workspace__inspector{max-height:none;position:relative;top:auto}.template-editor .template-structure,.template-editor .template-inspector{height:auto}.template-editor .template-structure__tree,.template-editor .template-inspector__content{overflow-y:visible}}.editor-panel-heading__eyebrow{color:#edf0ee85;letter-spacing:.12em;text-transform:uppercase;font-size:.62rem;font-weight:700;line-height:1}.editor-panel-heading{border-bottom:1px solid #394145;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem .9rem .7rem;display:flex}.editor-panel-heading h2{margin:.18rem 0 0;font-size:1rem}.editor-panel-heading__count{color:#edf0eeb8;background:#2b3032;border-radius:999px;justify-content:center;align-items:center;min-width:1.75rem;height:1.5rem;font-size:.68rem;font-weight:700;display:inline-flex}.template-structure,.template-inspector{flex-direction:column;height:100%;min-height:0;display:flex}.template-structure__tree,.template-inspector__content{scrollbar-color:#515a60 #222526;min-height:0;overflow-y:auto}.template-structure__tree{flex-direction:column;flex:1;gap:.35rem;padding:.55rem;display:flex}.structure-item{text-align:left;background:0 0;border-color:#0000;justify-content:flex-start;align-items:center;gap:.6rem;width:100%;min-height:3rem;padding:.55rem .65rem;display:flex}.structure-item:hover{background:#2b30328c;border-color:#394145}.structure-item.is-active{background:#3975b924;border-color:#3975b9a6;box-shadow:inset 3px 0 #3975b9}.structure-item__icon{color:#d9bd72;background:#edf0ee0f;border-radius:4px;flex:none;justify-content:center;align-items:center;width:1.6rem;height:1.6rem;display:inline-flex}.structure-item__content{flex-direction:column;gap:.1rem;min-width:0;display:flex}.structure-item__content strong{text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.structure-item__content small{color:#edf0ee7a;text-overflow:ellipsis;white-space:nowrap;font-size:.64rem;font-weight:400;overflow:hidden}.template-structure__branch{border-top:1px solid #394145;flex-direction:column;gap:.25rem;margin-top:.25rem;padding-top:.55rem;display:flex}.template-structure__field-list{flex-direction:column;gap:.25rem;margin:0;padding:0;list-style:none;display:flex}.template-structure__branch-label{color:#edf0ee9e;letter-spacing:.05em;text-transform:uppercase;justify-content:space-between;align-items:center;padding:.1rem .35rem .3rem;font-size:.67rem;font-weight:700;display:flex}.template-structure__branch-label small{color:#edf0ee59;letter-spacing:0;text-transform:none;font-size:.58rem;font-weight:500}.structure-field{background:#2b303247;border:1px solid #0000;border-radius:6px;grid-template-columns:1rem minmax(0,1fr) auto;align-items:center;gap:.3rem;min-height:2.55rem;padding:.22rem .28rem;transition:background .15s,border-color .15s,opacity .15s;display:grid}.structure-field:hover{background:#2b30329e;border-color:#515a60}.structure-field.is-active{background:#3975b924;border-color:#3975b9a6;box-shadow:inset 3px 0 #3975b9}.structure-field.is-template-only:not(.is-active){background:#252b28}.structure-field.is-template-only:not(.is-active):hover{background:#2e3832;border-color:#4b5750}.structure-field.is-dragging{opacity:.42}.structure-field__drag{color:#edf0ee57;cursor:grab;letter-spacing:-.2em;-webkit-user-select:none;user-select:none;font-size:.72rem}.structure-field__select{text-align:left;background:0 0;border:0;grid-template-columns:1.35rem minmax(0,1fr);align-items:center;gap:.08rem .4rem;min-width:0;padding:.28rem .25rem;display:grid}.structure-field__select:hover,.structure-field__select:focus{background:0 0}.structure-field__select:focus:not(:focus-visible){outline:none}.structure-field__select>.structure-type-marker{grid-row:1/span 2}.structure-type-marker{color:#edf0ee94;background:#edf0ee0b;border:1px solid #edf0ee1f;border-radius:.25rem;flex:none;justify-content:center;align-items:center;width:1.2rem;height:1.2rem;font-family:Georgia,serif;font-size:.67rem;font-weight:700;line-height:1;display:inline-flex}.structure-type-marker--collection{color:#3975b9cc;background:#3975b917;border-color:#3975b947}.structure-type-marker__slots{gap:1px;display:flex}.structure-type-marker__slots i{background:currentColor;border-radius:1px;width:2px;height:8px;display:block}.structure-type-marker--vertical .structure-type-marker__slots{flex-direction:column}.structure-type-marker--vertical .structure-type-marker__slots i{width:8px;height:2px}.structure-field__name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.8125rem;overflow:hidden}.structure-field__type{color:#edf0eecc;letter-spacing:0;text-transform:uppercase;background:#edf0ee12;border-radius:999px;flex:none;grid-column:2;justify-self:start;padding:.15rem .3rem;font-size:.6875rem;font-weight:700}.structure-field__order-actions{grid-template-columns:repeat(2,1.45rem);gap:.12rem;display:grid}.structure-field__order-actions button{color:#edf0eec7;background:0 0;border-color:#0000;width:1.45rem;height:1.45rem;padding:0}.structure-field__order-actions button:hover:not(:disabled){color:#edf0ee;background:#edf0ee14}.structure-children{border-left:1px solid #3975b94d;flex-direction:column;grid-column:2/-1;gap:.2rem;margin:.1rem 0 .25rem;padding:0 0 0 .55rem;list-style:none;display:flex}.structure-children>li{border-radius:4px;grid-template-columns:.75rem minmax(0,1fr) auto;align-items:center;gap:.2rem;transition:opacity .15s;display:grid}.structure-children>li.is-dragging{opacity:.42}.structure-child__drag{color:#edf0ee47;cursor:grab;letter-spacing:-.2em;-webkit-user-select:none;user-select:none;font-size:.62rem}.structure-child{color:#edf0eead;background:0 0;border-color:#0000;justify-content:space-between;width:100%;padding:.28rem .4rem;font-size:.66rem;display:flex}.structure-child small{color:#edf0ee66}.structure-child.is-active{color:#edf0ee;background:#3975b91f;border-color:#3975b973}.structure-child:focus:not(:focus-visible){border-color:#0000;outline:none}.structure-child.is-active:focus:not(:focus-visible){border-color:#3975b973}.structure-child__identity{align-items:center;gap:.3rem;min-width:0;display:flex}.structure-child__identity .structure-type-marker{width:1rem;height:1rem;font-size:.56rem}.structure-child__name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.structure-child__order-actions{grid-template-columns:repeat(2,1.2rem);gap:.08rem;display:grid}.structure-child__order-actions button{color:#edf0ee7a;background:0 0;border-color:#0000;width:1.2rem;height:1.2rem;padding:0;font-size:.62rem}.structure-child__order-actions button:hover:not(:disabled){color:#edf0ee;background:#edf0ee14}.template-structure__empty,.inspector-empty{color:#edf0ee7a;text-align:center;border:1px dashed #515a60;border-radius:6px;flex-direction:column;align-items:center;gap:.2rem;margin:.25rem 0;padding:1.25rem .75rem;display:flex}.template-structure__empty strong,.inspector-empty strong{color:#edf0eeb8;font-size:.76rem}.template-structure__empty span,.inspector-empty span{font-size:.66rem}.template-structure__add{flex:none;position:relative}.template-structure__add-trigger{min-width:4.25rem;padding:.35rem .55rem}.template-structure__add-menu{z-index:30;background:#222526;border:1px solid #515a60;border-radius:6px;width:15rem;padding:.35rem;position:absolute;top:calc(100% + .35rem);right:0;box-shadow:0 12px 30px #00000073}.template-structure__add-menu button{text-align:left;background:0 0;border-color:#0000;grid-template-columns:1.25rem minmax(0,1fr);justify-content:start;gap:.55rem;width:100%;margin:0;padding:.55rem;display:grid}.template-structure__add-menu button:hover,.template-structure__add-menu button:focus{background:#2b3032}.template-structure__add-menu svg{color:#edf0ee9e;margin-top:.1rem}.template-structure__add-menu span{flex-direction:column;gap:.1rem;min-width:0;display:flex}.template-structure__add-menu small{color:#edf0ee85;font-size:.62rem;font-weight:400}.modal-dialog.collection-creator-dialog{width:min(28rem,100vw - 2rem)}.collection-creator-dialog__eyebrow{color:#edf0ee85;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.2rem;font-size:.62rem;font-weight:700;display:block}.collection-creator-dialog__form{min-height:0}.collection-creator-dialog__body{grid-template-columns:1fr 1fr;gap:.8rem;padding:1rem 1.25rem;display:grid}.collection-creator-dialog__body label{text-transform:none;min-width:0;margin:0}.collection-creator-dialog__body input,.collection-creator-dialog__body select{box-sizing:border-box;width:100%;min-width:0}.collection-creator-dialog__body label:first-child{grid-column:1/-1}.collection-creator-dialog__actions{border-top:1px solid #394145;justify-content:flex-end;gap:.5rem;padding:.85rem 1.25rem;display:flex}@media (width<=34rem){.collection-creator-dialog__body{grid-template-columns:1fr}.collection-creator-dialog__body label:first-child{grid-column:auto}}.template-structure__utilities{grid-template-columns:1fr 1fr;gap:.35rem;padding:0 .65rem .65rem;display:grid}.template-structure__utilities button{color:#edf0ee8f;background:0 0;font-size:.65rem}.template-canvas-workspace{flex-direction:column;gap:.6rem;width:100%;min-width:0;display:flex}.template-canvas-workspace__heading{justify-content:space-between;align-items:center;gap:.75rem;padding:.25rem .3rem;display:flex}.template-canvas-workspace__heading h2{margin:0;font-size:1rem}.template-canvas-workspace__tools{color:#edf0ee80;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem;font-size:.64rem;display:flex}.template-canvas-workspace__safe-area{color:#edf0eead;text-transform:none;white-space:nowrap;flex-direction:row;align-items:center;gap:.3rem;margin:0;font-size:.68rem}.template-canvas-workspace__divider{background:#edf0ee33;width:1px;height:.9rem}.template-canvas-stage{background-color:#181920;background-image:linear-gradient(45deg,#ffffff06 25%,#0000 25%),linear-gradient(-45deg,#ffffff06 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ffffff06 75%),linear-gradient(-45deg,#0000 75%,#ffffff06 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;border:1px solid #394145;border-radius:8px;justify-content:center;align-items:flex-start;min-height:0;padding:1.25rem;display:flex;overflow:auto;box-shadow:inset 0 0 30px #00000052}.template-canvas-stage canvas{width:auto;max-width:min(100%,600px);height:auto;max-height:min(900px,max(14rem,100vh - 23rem));box-shadow:none;border:0;border-radius:0;display:block}.template-canvas-workspace__hint{color:#edf0ee6b;text-align:center;margin:0;padding:0 .3rem;font-size:.65rem;line-height:1.4}.print-guide-key{color:#929c9f;flex-wrap:wrap;justify-content:center;gap:.6rem 1rem;font-size:.75rem;display:flex}.print-guide-key span{align-items:center;gap:.4rem;display:inline-flex}.print-guide-key span:before{content:"";flex-shrink:0;width:1rem;height:.6rem}.print-guide-key__bleed:before{background:repeating-linear-gradient(135deg,#0000 0 3px,#d88c80 3px 4px);border:1px solid #975f56}.print-guide-key__trim:before{border-bottom:1px solid #f4f6f5}.print-guide-key__safe:before{border-bottom:2px dashed #80ddbb}.template-inspector__content{flex:1}.inspector-note{color:#edf0ee9e;margin:0;font-size:.72rem;line-height:1.45}.inspector-identity{border-bottom:1px solid #394145;padding:.9rem}.inspector-identity__header{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.inspector-identity__main{flex-direction:column;flex:auto;gap:.25rem;min-width:0;display:flex}.inspector-identity__primary-action{flex:none}.inspector-identity__primary-action button{white-space:nowrap;height:2rem;padding:0 .55rem}.inspector-identity__name{color:#edf0ee;width:100%;min-width:0;font-weight:700;background:0 0!important;border-color:#0000!important;padding:.25rem .35rem!important;font-size:1rem!important}.inspector-identity__name:hover,.inspector-identity__name:focus{background:#2b3032b3!important;border-color:#515a60!important}.inspector-identity__type{color:#edf0ee94;align-items:center;min-height:1.55rem;padding-inline:.35rem;font-size:.68rem;display:flex}.inspector-identity__type select{width:auto;min-width:7.5rem;padding-block:.25rem;font-size:.72rem}.inspector-identity__body{border-top:1px solid #394145;flex-direction:column;gap:.7rem;margin-top:.85rem;padding-top:.85rem;display:flex}.inspector-identity__body-label{color:#edf0ee7a;letter-spacing:.08em;text-transform:uppercase;font-size:.62rem;font-weight:700}.property-row--toggle{align-items:start}.property-row--toggle .property-row__control{justify-content:flex-end;padding-top:.15rem}.inheritable-toggle-control{justify-content:flex-end;align-items:center;gap:.3rem;display:inline-flex}.inspector-advanced{border-bottom:1px solid #394145}.inspector-advanced summary{color:#edf0eed1;cursor:pointer;justify-content:space-between;align-items:center;gap:.75rem;padding:.8rem .9rem;font-size:.78rem;font-weight:700;display:flex}.inspector-advanced summary:focus-visible{outline-offset:-3px;border-color:#3975b9;outline:2px solid #3975b9}.inspector-advanced summary small{color:#edf0ee7a;text-transform:uppercase;font-size:.62rem;font-weight:600}.inspector-advanced__body{flex-direction:column;gap:.7rem;padding:0 .9rem .9rem;display:flex}.inspector-advanced__body>p{color:#edf0ee94;margin:0;font-size:.68rem;line-height:1.4}.collection-diagnostic{color:#b7f0d1;background:#2f7d681a;border:1px solid #50be9140;border-radius:4px;flex-direction:column;gap:.12rem;padding:.5rem .6rem;font-size:.67rem;display:flex}.collection-diagnostic span{color:#edf0ee8c;font-size:.61rem}.collection-diagnostic.is-warning{color:#f4cf72;background:#f2c14e14;border-color:#f2c14e52}.template-inspector .tpl-settings{gap:.8rem}.template-inspector .template-image-controls-container{flex-direction:column;gap:.8rem;margin:0;display:flex}.template-inspector .template-image-controls{background:#2b30323d;border:1px solid #394145;border-radius:6px;padding:.65rem}.template-inspector .template-scale-controls,.template-inspector .tpl-size-controls,.template-inspector .tpl-presets{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.5rem!important;display:grid!important}.template-inspector .tpl-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.template-inspector .tpl-preset-btn{min-width:0;padding:.4rem .25rem}.template-inspector .tpl-preset-btn[aria-pressed=true]{border-color:#3975b9}.template-inspector .image-scale-lock-control{justify-content:flex-start}.rect-editor{flex-direction:column;gap:.8rem;display:flex}.rect-editor__values{grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;display:grid}.rect-editor__value{color:#edf0ee8c;text-transform:uppercase;min-width:0;margin:0;font-size:.62rem}.rect-editor__value input{box-sizing:border-box;width:100%;min-width:0;padding:.38rem .3rem}.rect-editor__locks{border:1px solid #394145;border-radius:6px;flex-direction:column;gap:.5rem;margin:0;padding:.65rem;display:flex}.rect-editor__locks legend{color:#edf0ee94;text-transform:uppercase;padding:0 .25rem;font-size:.64rem;font-weight:700}.rect-editor__lock-grid{grid-template-rows:1fr 1.6rem 1fr;grid-template-columns:1fr 2.8rem 1fr;place-items:center;gap:.2rem;min-height:5.2rem;display:grid}.rect-editor__corner{color:#edf0ee8f;text-transform:none;flex-direction:row;align-items:center;gap:.25rem;margin:0;font-size:.58rem}.rect-editor__corner--nw{grid-area:1/1}.rect-editor__corner--ne{grid-area:1/3}.rect-editor__corner--sw{grid-area:3/1}.rect-editor__corner--se{grid-area:3/3}.rect-editor__lock-center{color:#edf0ee57;grid-area:2/2;font-size:.58rem}.template-editor-empty{text-align:center;background:#222526;border:1px solid #394145;border-radius:8px;max-width:34rem;margin:4rem auto;padding:2rem}.floating-palette{--palette-surface:#1b201e;--palette-header:#29332e;--palette-border:#4a5a50;--palette-divider:#35433b;--palette-row-height:2.5rem;--palette-row-gap:.5rem;--palette-body-padding:.65rem;z-index:80;box-sizing:border-box;border:1px solid var(--palette-border);background:var(--palette-surface);color:#edf0ee;border-radius:6px;flex-direction:column;display:flex;position:fixed;overflow:hidden;box-shadow:0 10px 30px #00000061,0 2px 8px #00000038}.floating-palette__header{border-bottom:1px solid var(--palette-divider);background:var(--palette-header);flex-shrink:0;align-items:center;gap:.15rem;padding:.25rem;display:flex}.floating-palette__header h2{margin:0;font-size:1.05rem}.floating-palette__header .editor-icon-button{background:0 0;border-color:#0000;width:2rem;height:2rem}.floating-palette__identity{flex:1;align-items:center;gap:.6rem;min-width:0;display:flex}.floating-palette__title{font-size:1.05rem;font-weight:700}.floating-palette__detail{color:#edf0eeb3;text-align:left;flex-direction:column;flex:1;justify-content:center;min-width:0;height:2rem;font-size:.7rem;font-weight:400;line-height:1rem;display:flex}.floating-palette__detail span,.floating-palette__detail strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.floating-palette__drag{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;letter-spacing:0;background:0 0;border-color:#0000;flex:1;justify-content:flex-start;gap:.45rem;min-width:0;min-height:2.5rem;padding:.25rem .5rem}.floating-palette__drag>svg{flex-shrink:0}.floating-palette__drag:hover{background:0 0}.floating-palette__drag:active{transform:none}.floating-palette.is-dragging .floating-palette__drag{cursor:grabbing}.floating-palette__resize{border:1px solid var(--palette-border);background:var(--palette-surface);color:#edf0eebf;cursor:nwse-resize;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:3px;flex:0 0 1.5rem;width:1.5rem;height:1.5rem;min-height:0;margin-right:.15rem;padding:0}.floating-palette__resize:hover,.floating-palette__resize:focus-visible{color:#edf0ee;border-color:#edf0ee}.floating-palette__resize:active{transform:none}.floating-palette.is-resizing{-webkit-user-select:none;user-select:none}.floating-palette.is-minimized .floating-palette__header{border-bottom:0}.floating-palette__body{overscroll-behavior:contain;min-height:0;padding:var(--palette-body-padding);box-sizing:border-box;overflow-y:auto}.floating-palette[data-preset=wide] .floating-palette__body{max-height:calc(var(--palette-row-height) * 3.5 + var(--palette-row-gap) * 3 + var(--palette-body-padding))}.floating-palette .keyword-reference{margin:0;padding:0}.floating-palette .keyword-reference .keyword-list{gap:var(--palette-row-gap);grid-template-columns:repeat(auto-fill,minmax(min(8rem,100%),1fr));margin:0;display:grid}.floating-palette .keyword-item{min-width:0}.floating-palette .keyword-item__insert{width:100%;min-width:0;height:var(--palette-row-height);min-height:var(--palette-row-height);justify-content:flex-start}.floating-palette .keyword-icon{flex-shrink:0}.floating-palette .keyword-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.floating-palette--narrow .floating-palette__identity{flex-direction:column;align-items:flex-start;gap:0}.floating-palette--narrow .floating-palette__title,.floating-palette--narrow .floating-palette__header h2{font-size:.85rem}.floating-palette--narrow .floating-palette__detail{flex:none;width:100%}.floating-palette--narrow .floating-palette__drag{padding-inline:.25rem}.floating-palette--narrow .floating-palette__drag>svg{display:none}.floating-palette--mobile{--palette-row-height:2.75rem}.floating-palette--mobile .floating-palette__header>.floating-palette__identity{margin-inline:.5rem}.floating-palette--mobile .floating-palette__header .editor-icon-button{width:2.75rem;height:2.75rem}body:has([aria-modal=true]) .floating-palette{visibility:hidden;pointer-events:none}.card-builder{--editor-navigation-width:14rem;--editor-inspector-width:30rem;container:card-workspace/inline-size}.card-builder .editor-workspace__body{grid-template-columns:var(--editor-navigation-width) minmax(20rem, 1fr) minmax(18rem, var(--editor-inspector-width))}.card-builder .editor-workspace__panel{border-radius:6px;max-height:calc(100dvh - 7rem)}.card-builder .editor-workspace__canvas{min-height:0;display:block}.card-builder .editor-workspace__inspector{grid-column:auto;position:sticky;top:5.7rem;overflow:visible}.card-builder .editor-workspace__navigation{top:5.7rem}.card-builder--cards-hidden .editor-workspace__body{grid-template-columns:minmax(20rem, 1fr) minmax(18rem, var(--editor-inspector-width));max-width:80rem}.card-builder .editor-command-bar__identity h2{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-builder__form{background:#222526;border:0;border-radius:6px;min-width:0;margin:0;padding:.9rem}.card-builder .instance-card-images{margin:1rem 0 0}.card-builder .cardName-control label{text-transform:none;font-size:.8rem}.card-builder .dynamicField-values-container .dynamic-field__control{flex-direction:row}.card-builder__size{color:#edf0ee99;font-size:.75rem}.card-builder__preview-stage{min-height:18rem;clip-path:inset(var(--preview-clip-top,0px) 0 0);background:#151718;padding:.8rem}.card-builder__preview-stage canvas{width:auto;max-width:100%;height:auto;max-height:max(18rem,100dvh - 16rem)}.card-builder .card-builder__previous-next{top:calc(var(--editor-toolbar-height,5rem) + 1rem);z-index:2;background:#222526;border-radius:6px 6px 0 0;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.4rem;padding:.4rem;font-size:.8rem;display:grid;position:sticky}.card-builder__preview-heading{overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:.2rem .4rem;min-width:0;display:flex}.card-builder__previous-next .card-builder__size{overflow-wrap:anywhere;max-width:8rem}.card-builder .editor-panel-heading{padding:.75rem}.card-builder .editor-panel-heading h2{margin:0;font-size:1rem}.card-builder .editor-panel-heading small{color:#edf0ee99;font-weight:400}@media (width>=897px){.card-builder .editor-workspace__inspector{height:auto;max-height:none;top:calc(var(--editor-toolbar-height,5rem) + 1rem);grid-template-rows:auto auto;display:grid}.card-builder .editor-workspace__navigation{max-height:var(--editor-body-height,calc(100dvh - 15rem))}.card-builder__preview-stage{place-items:start center;min-height:0;display:grid}.card-builder__preview-stage .applied-canvas{width:min(100%, max(18rem, var(--editor-body-height,calc(100dvh - 15rem)) - var(--preview-header-height,4rem) - 1.6rem - 2px) * var(--card-aspect-ratio))}.card-builder__preview-stage canvas{width:100%;height:auto;max-height:none}.card-builder .editor-panel-heading{flex-wrap:wrap;gap:.35rem}}.card-browser{--selectable-row-height:1.5rem;--selectable-row-padding:0 .4rem;min-height:0;padding:.7rem;overflow-y:auto}.card-browser .saved-instance-gallery{flex-flow:column;gap:.35rem}.card-browser .saved-instance-gallery-container{max-height:none}.card-browser .selectable-button{box-sizing:border-box;width:100%}.card-browser .selectable-button__action{text-align:left;min-width:0;min-height:calc(var(--selectable-row-height) - 2px);letter-spacing:0;justify-content:flex-start}.card-browser .selectable-button__label{overflow-wrap:anywhere;white-space:normal}.card-browser .instance-selection-controls{flex-wrap:wrap}.card-browser .card-instance-filter{background:0 0;border:0;padding:0}.card-browser .filter-search{box-sizing:border-box;width:100%;min-width:0}.card-browser .filter-row{margin:.4rem 0}.card-browser .filter-status,.card-browser__selection{color:#edf0eeb3;font-size:.78rem}.card-browser .card-filter-details summary{cursor:pointer;padding:.25rem 0;font-size:.8rem}.card-browser .card-filter-details select,.card-browser .card-filter-details input{min-width:0;max-width:100%}.card-browser .empty{color:#edf0eea6;padding:1rem 0}.shared-dialog.card-tools-dialog{width:min(82rem,100vw - 2rem);max-width:82rem}.card-tools{grid-template-columns:minmax(0,1fr) minmax(17rem,20rem);gap:1rem;display:grid}.card-tools__selection{border:0;min-width:0;margin:0;padding:0;container:card-selection/inline-size}.card-tools__selection legend{font-weight:600}.card-tools .card-browser{max-height:55dvh;padding-inline:0}.card-tools .saved-instance-gallery{grid-template-columns:minmax(0,1fr);align-items:start;display:grid}.card-tools__options{border:0;min-width:0;margin:0;padding:0}.card-tools__delete{border-top:1px solid #394145;margin-top:1.5rem;padding-top:1rem}.card-tools__options header{margin-bottom:1rem;font-weight:600}.card-tools .graphic-export-controls{flex-direction:column}.card-tools .graphic-export-controls>div:empty{display:none}.card-tools .graphic-export-controls select{width:100%;min-width:0}.card-tools--export{grid-template-columns:repeat(2,minmax(0,1fr))}.home-sheet{grid-template-columns:minmax(0,1fr) minmax(13rem,.9fr);gap:1rem;width:100%;padding-top:1rem;display:grid}.home-sheet__settings{min-width:0}.home-sheet h3{margin-top:0}.home-sheet h3 small{color:#929c9f;font-size:.75rem;font-weight:400}.home-sheet .property-row{flex-direction:column;align-items:stretch;gap:.35rem;margin-bottom:.9rem;display:flex}.home-sheet .property-row__control{justify-content:flex-start}.home-sheet .property-row--toggle{flex-direction:row;justify-content:space-between;align-items:center}.home-sheet input[type=number],.home-sheet select{box-sizing:border-box;width:100%;min-width:0}.sheet-summary{color:#929c9f;font-size:.8rem}.sheet-preview{min-width:0}.sheet-preview__paper{background:#fff;width:100%;position:relative}.sheet-preview__paper canvas{width:100%;height:100%;box-shadow:none;border:0;border-radius:0;display:block}.sheet-preview__status{color:#333;background:#ffffffd9;place-items:center;font-size:.8rem;display:grid;position:absolute;inset:0}.sheet-preview__navigation{justify-content:center;align-items:center;gap:.65rem;margin-top:.65rem;font-size:.8rem;display:flex}.sheet-preview__navigation button{width:2rem;height:2rem;padding:0}.individual-export{width:100%;min-width:0;padding-top:1rem}.individual-export .property-row{margin-bottom:1rem}@media (width<=1250px){.home-sheet{grid-template-columns:1fr}.sheet-preview{width:min(100%,19rem);margin-inline:auto}}@media (width<=1000px){.card-tools--export{grid-template-columns:1fr}.card-tools--export .card-browser{max-height:24dvh}}@media (width<=520px){.home-sheet{grid-template-columns:1fr}.sheet-preview{width:min(100%,17rem);margin-inline:auto}.home-sheet input,.home-sheet select,.individual-export select{font-size:16px}}@container card-selection (width>=22rem){.card-tools .saved-instance-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@container card-selection (width>=36rem){.card-tools .saved-instance-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (pointer:coarse),(width<=720px){.card-browser{--selectable-row-height:2.75rem}}@container card-workspace (width>=92rem){.card-builder:not(.card-builder--cards-hidden) .editor-workspace__body{grid-template-columns:28rem minmax(31.25rem, 1fr) var(--editor-inspector-width)}.editor-workspace__navigation .saved-instance-gallery{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}}@media (width<=1200px) and (width>=897px){.card-builder .editor-workspace__body{grid-template-columns:minmax(20rem, 1fr) minmax(17rem, var(--editor-inspector-width))}}@media (width<=896px){.card-builder{padding:.5rem;padding-bottom:calc(.5rem + var(--palette-bottom-space,0px))}.card-builder .editor-workspace__toolbar{background:#151718;margin-bottom:.5rem;position:sticky;top:0}.card-builder .editor-command-bar{gap:.5rem;padding:.6rem}.card-builder[data-view=preview] .editor-workspace__toolbar{position:static}.card-builder[data-view=preview] .card-builder__mobile-tabs{top:0}.card-builder .card-builder__previous-next{top:var(--editor-tabs-height,3.25rem)}.card-builder__preview-stage canvas{max-height:65dvh}.card-builder__form{padding:.75rem}.card-builder input:not([type=checkbox]),.card-builder textarea,.card-builder select{font-size:16px}.card-builder .text-alignment-control__buttons button{min-width:2.5rem;min-height:2.5rem}.card-builder input[data-field-id],.card-builder textarea{scroll-margin-top:calc(var(--editor-toolbar-height,7rem) + 4rem);scroll-margin-bottom:var(--palette-bottom-space,0px)}.card-tools{grid-template-columns:1fr}.card-tools .card-browser{max-height:30dvh}.shared-dialog{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}.shared-dialog.card-tools-dialog{width:calc(100vw - 1rem)}body:has(.floating-palette--mobile.is-compact-viewport) .card-builder .editor-workspace__toolbar{position:static}body:has(.floating-palette--mobile.is-compact-viewport) .card-builder .card-builder__mobile-tabs{top:0}body:has(.floating-palette--mobile.is-compact-viewport) .card-builder input[data-field-id]{scroll-margin-top:4rem}body:has(.floating-palette--mobile.is-compact-viewport) .card-builder textarea{scroll-margin-top:4rem}}@media (width>=897px) and (height<=600px){.card-builder .editor-workspace__inspector{position:relative;top:auto}}.instance-form-header{justify-content:center;align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}.instance-selection-controls,.instance-selection-importexports,.graphic-export-controls{gap:.5rem;margin-bottom:1rem;display:flex}.dynamicField-values-container{flex-wrap:wrap;gap:1rem;display:flex}.dynamicField-values-container label{flex:6rem;min-width:5rem;max-width:8rem}.saved-instance-gallery-container{scroll-behavior:smooth;max-height:500px;overflow:hidden auto}.saved-instance-gallery-container::-webkit-scrollbar{width:8px}.saved-instance-gallery-container::-webkit-scrollbar-track{background:#ffffff05;border-radius:4px}.saved-instance-gallery-container::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:4px}.saved-instance-gallery-container::-webkit-scrollbar-thumb:hover{background:#ffffff26}.saved-instance-gallery{flex-wrap:wrap;gap:.5rem;padding:2px;display:flex}.cardName-control .span-segment{justify-content:space-between;gap:.4rem;display:flex}.instance-navigation{justify-content:center;gap:.5rem;margin-top:.5rem;margin-bottom:1rem;display:flex}.instance-navigation button{width:140px}.card-instance-filter{background:#ffffff05;border:1px solid #ffffff14;border-radius:4px;flex-direction:column;gap:.4rem;margin-bottom:.75rem;padding:.5rem;display:flex}.card-instance-filter .filter-row{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.card-instance-filter .filter-label{opacity:.7;white-space:nowrap;margin:0;font-size:.8rem}.card-instance-filter .filter-search{flex:1;min-width:120px;padding:.25rem .5rem;font-size:.85rem}.card-instance-filter .filter-field-value{flex:1;min-width:80px;padding:.25rem .5rem;font-size:.85rem}.card-instance-filter select.select{padding:.2rem .3rem;font-size:.8rem}.card-instance-filter .filter-status{opacity:.7;white-space:nowrap;font-size:.8rem}.card-instance-filter .filter-clear{white-space:nowrap;cursor:pointer;padding:.15rem .5rem;font-size:.75rem}.dynamic-field__control{align-items:flex-start;gap:.35rem;display:flex}.dynamic-field__control>input,.dynamic-field__control>textarea{flex:auto;min-width:0}.dynamic-field__default{flex:none;width:2rem;height:2rem;padding:0;font-size:1rem;line-height:1}.dynamicField-values-container .dynamic-field__control{flex-direction:column}.instance-fields-ordered{flex-direction:column;gap:.75rem;display:flex}.instance-field-collection{background:#ffffff06;border:1px solid #ffffff1a;border-radius:6px;flex-direction:column;gap:.55rem;margin:0;padding:.7rem;display:flex}.instance-field-collection legend{color:#ffffffb8;padding:0 .35rem;font-size:.75rem;font-weight:700}.instance-field-collection__paragraph{flex-direction:column;gap:.25rem;display:flex}.instance-field-collection__warning{color:#f4cf72;background:#f2c14e14;border:1px solid #f2c14e4d;border-radius:4px;margin:0;padding:.45rem .55rem;font-size:.7rem}.dynamicField-values-container>.instance-positionable-field{flex:8rem;min-width:7rem;max-width:12rem}.instance-positionable-field{flex-direction:column;gap:.3rem;display:flex}.instance-text-position-controls{background:#ffffff05;border:1px solid #ffffff14;border-radius:4px;grid-template-columns:auto repeat(3,1.7rem);align-items:center;gap:.2rem;padding:.35rem;display:grid}.instance-text-position-controls>span{color:#ffffff94;font-size:.62rem}.instance-text-position-controls>span:nth-of-type(2){grid-column:1}.instance-text-position-controls button{width:1.7rem;min-width:1.7rem;height:1.7rem;padding:0}.instance-text-position-controls .instance-text-position-controls__reset{grid-column:1/-1;width:auto;min-width:0;padding:0 .4rem}.instance-card-images{border:1px solid #ffffff1f;border-radius:6px;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.6rem;margin:0 0 .75rem;padding:.7rem;display:grid}.instance-card-images legend{color:#ffffffb8;padding:0 .35rem;font-size:.75rem;font-weight:700}.instance-card-image{flex-direction:column;gap:.35rem;min-width:0;display:flex}.instance-card-image__label{font-size:.75rem;font-weight:700}.applied-canvas{width:fit-content;max-width:100%;margin:0 auto;position:relative;overflow:hidden}.applied-canvas canvas{max-width:100%;transition:filter .18s ease-out;display:block}.applied-canvas__veil,.applied-canvas__loading{pointer-events:none;opacity:0;position:absolute;inset:0}.applied-canvas__veil{background:#0f101585;transition:opacity .18s ease-out}.applied-canvas__loading{color:#ffffffd1;place-items:center;font-size:.8rem;font-weight:700;transition:opacity .16s ease-out;display:grid}.applied-canvas--veiled canvas{filter:grayscale(.45)brightness(.76);transition-duration:.4s}.applied-canvas--veiled .applied-canvas__veil{opacity:1;transition-duration:.4s}.applied-canvas__loading--visible{opacity:1}@media (prefers-reduced-motion:reduce){.applied-canvas canvas,.applied-canvas__veil,.applied-canvas__loading{transition-duration:0s}}.dynamic-field{min-width:0}.keyword-reference__destination{color:#edf0eeb3;overflow-wrap:anywhere;margin:.25rem 0 .6rem;font-size:.75rem}.dynamic-field>label{text-transform:none;overflow-wrap:anywhere;margin-bottom:.3rem;font-size:.85rem}.cardName-control{margin-bottom:1rem}.cardName-control__automatic{color:#edf0eea6;margin:.3rem 0;font-size:.8rem}.cardName-control__notice{color:#f4cf72;overflow-wrap:anywhere;margin:.4rem 0;font-size:.8rem}.cardName-control__error{color:#ffc7c7;overflow-wrap:anywhere;margin:.4rem 0;font-size:.8rem}.field-formatting summary{cursor:pointer;color:#edf0eeb3;align-items:center;gap:.35rem;width:fit-content;padding:.3rem 0;font-size:.75rem;display:flex}.field-formatting[open]{padding-bottom:.5rem}.field-formatting .text-alignment-control{margin:.35rem 0}.field-formatting__override{color:#f4cf72;font-size:.7rem}.dynamicField-values-container>.instance-positionable-field{max-width:12rem}.dynamicField-values-container>.instance-positionable-field:has(.field-formatting[open]){flex-basis:16rem;max-width:18rem}.dynamicField-values-container input[data-field-id]{box-sizing:border-box;width:100%}.shared-dialog.tune-designer{background:#222526;width:min(68rem,100vw - 2rem);max-width:68rem;height:min(58rem,100dvh - 2rem);max-height:calc(100dvh - 2rem)}.shared-dialog.tune-designer .modal-header h2{overflow-wrap:anywhere;min-width:0;font-size:1rem}.shared-dialog.tune-designer .modal-close{flex-shrink:0}.shared-dialog.tune-designer>.modal-body{flex-direction:column;flex:1;padding:0;display:flex;overflow:hidden}.shared-dialog.tune-designer>.shared-dialog__actions{box-sizing:border-box;min-height:3.5rem;padding:.75rem 1rem}.shared-dialog.tune-designer .shared-dialog__actions button{align-items:center;gap:.4rem;display:inline-flex}.shared-dialog.tune-designer>.shared-dialog__actions button:disabled{opacity:.5}.tuner-context{border-bottom:1px solid #394145;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;gap:.5rem;padding:.65rem 1rem;font-size:.85rem;display:flex}.tuner-context span{color:#b9c6c6}.tuner-context strong,.tuner-context span{overflow-wrap:anywhere;min-width:0}.tuner-workspace{flex:1;grid-template-columns:minmax(0,1fr) minmax(19rem,23rem);min-height:0;display:grid}.tuner-preview{background:#151718;min-width:0;padding:1.5rem}.tuner-preview-stage{justify-content:center;display:flex;position:sticky;top:1rem}.tuner-card{width:min(100%, (100dvh - 17rem) * var(--tuner-ratio));max-width:30rem;position:relative}.tuner-card canvas{border:0;border-radius:0;width:100%;height:auto;max-height:none;display:block}.tuner-selection{box-sizing:border-box;pointer-events:none;outline:2px solid #226bbc;position:absolute}.tuner-selection button{pointer-events:auto;touch-action:none;border-radius:3px;margin:0;padding:0;position:absolute}.tuner-selection__move{cursor:move;background:0 0;border:0;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;display:flex;inset:0}.tuner-selection__move svg{color:#fff;background:#226bbc;border-radius:3px;padding:3px;position:absolute;top:-24px;left:-2px}.tuner-selection__move:hover,.tuner-selection__move:focus{background:#3975b90f}.tuner-selection__resize{color:#fff;cursor:nwse-resize;background:#226bbc;place-items:center;width:24px;height:24px;display:grid;bottom:-10px;right:-10px}.tuner-controls{border-left:1px solid #394145;flex-direction:column;min-width:0;min-height:0;padding:1rem;display:flex;overflow:hidden}.tuner-controls h3{flex-wrap:wrap;align-items:center;gap:.4rem;margin:0 0 .65rem;font-size:.95rem;display:flex}.tuner-controls h3>.tuner-scope{margin-left:auto}.tuner-controls h4{margin:1rem 0 .4rem;font-size:.85rem}.tuner-controls p,.tuner-controls li{font-size:.8rem;line-height:1.5}.tuner-controls ul{padding-left:1.2rem}.tuner-controls label{text-transform:none;margin:.65rem 0;font-size:.8rem}.tuner-controls input,.tuner-controls select,.tuner-controls textarea{box-sizing:border-box;width:100%;min-width:0}.tuner-controls textarea{resize:vertical;min-height:6rem;max-height:14rem}.tuner-controls small{color:#bec8ca;font-size:.75rem}.tuner-content{flex-shrink:0;max-height:40%;overflow-y:auto}.tuner-settings{border-top:1px solid #394145;flex:1;min-height:0;margin-top:.5rem;padding-top:1rem;overflow:hidden}.tuner-settings>section{height:100%;overflow-y:auto}.tuner-settings>div:not([hidden]){height:100%}.tuner-tabbed-settings{flex-direction:column;height:100%;min-height:0;display:flex}.tuner-tabbed-settings>.inspector-tabs{flex-shrink:0;margin-bottom:1rem}.tuner-tabbed-settings>[role=tabpanel]{scrollbar-gutter:stable;flex:1;min-height:0;padding:.2rem;overflow-y:auto}.tuner-settings [hidden]{display:none}.tuner-resource-detail{flex-direction:column;height:100%;min-height:0;animation:.14s ease-out tuner-panel-in;display:flex}.tuner-resource-panel{flex-direction:column;flex:1;min-height:0;display:flex}.tuner-resource-panel__header{flex-shrink:0;padding-bottom:.6rem}.tuner-resource-panel__header h2{overflow-wrap:anywhere;margin:0;font-size:1rem}.tuner-resource-panel__body{scrollbar-gutter:stable;flex:1;min-width:0;min-height:0;padding:.25rem .45rem .5rem .2rem;overflow-y:auto}.tuner-resource-panel__actions{border-top:1px solid #394145;flex-shrink:0;justify-content:flex-end;gap:.5rem;padding:.75rem 0 0;display:flex}.tuner-resource-panel .resource-editor-dialog__editing,.tuner-resource-panel .resource-editor-dialog__form{min-width:0}.tuner-resource-panel .resource-editor-dialog__form{grid-template-columns:minmax(0,1fr)}.tuner-resource-panel .resource-editor-dialog__group{border:0;padding:.4rem 0}.tuner-resource-panel .resource-editor-dialog__group legend{padding:0}.tuner-resource-panel .resource-editor-dialog__size-range,.tuner-resource-panel .resource-editor-dialog__appearance{grid-template-columns:repeat(2,minmax(0,1fr))}.tuner-resource-panel .resource-editor-dialog__size-range small,.tuner-resource-panel .text-style-weight-control{grid-column:1/-1}.tuner-resource-panel .resource-editor-dialog__symbol-preview{grid-template-columns:64px minmax(0,1fr)}.tuner-resource-panel .resource-editor-dialog__label-row>label{margin:0}@keyframes tuner-panel-in{0%{opacity:.6;transform:translate(10px)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:reduce){.tuner-resource-detail{animation:none}}.tuner-alignment{border:0;margin:.65rem 0;padding:0}.tuner-alignment legend{margin-bottom:.4rem;font-size:.8rem}.tuner-bounds{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .65rem;display:grid}.tuner-content-review{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#2b3032;border-radius:4px;padding:.75rem;font-size:.85rem}.tuner-template-impact{align-items:flex-start;gap:.65rem;margin-top:1rem;display:flex}.tuner-template-impact>svg{color:#f1d78c;flex-shrink:0}.tuner-template-impact>div{overflow-wrap:anywhere;min-width:0}.tuner-template-impact h4{margin-top:0}.tuner-template-impact p{margin-bottom:0}.dynamic-field--label-action{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:.5rem;display:grid}.dynamic-field--label-action>label{overflow-wrap:anywhere;grid-area:1/1;min-width:0}.dynamic-field--label-action>.dynamic-field__control{grid-area:2/1/auto/-1;min-width:0}.dynamic-field--label-action>.dynamic-field__label-action{grid-area:1/2;justify-self:end}.tune-field-button{color:#f1d78c;border-radius:4px;place-items:center;width:30px;height:28px;margin:0;padding:0;display:grid}@media (pointer:coarse){.tune-field-button{width:36px;height:36px}}@media (width<=760px),(height<=640px){.shared-dialog.tune-designer{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}.shared-dialog.tune-designer>.modal-body{overflow-y:auto}.tuner-workspace{flex:none;grid-template-columns:minmax(0,1fr)}.tuner-preview{padding:1rem}.tuner-card{width:min(100%, 50dvh * var(--tuner-ratio))}.tuner-controls{box-sizing:border-box;border-top:1px solid #394145;border-left:0;height:42rem}.tuner-controls input,.tuner-controls textarea,.tuner-controls select{font-size:16px}}.tuner-resource-controls{flex-direction:column;gap:.5rem;display:flex}.tuner-resource-controls>button{align-self:flex-start;align-items:center;gap:.35rem;display:inline-flex}.tuner-resource-controls .resource-picker{min-width:0}.tuner-resource-controls .tuner-control-label{margin-top:.35rem;font-size:.8rem;font-weight:600}.tuner-resource-scope{color:#f1d78c;margin:0 0 .75rem;font-size:.8rem}.tuner-override-notice{margin-top:.8rem}.tuner-override-notice .feedback-notice{background:#f4cf720d;border-color:#8f7844}.tuner-override-notice strong,.tuner-override-notice .feedback-notice__icon{color:#f4cf72}.tuner-override-notice p{margin:.4rem 0 0}.tuner-scope{align-items:center;gap:.3rem;font-size:.7rem;font-weight:400;line-height:1.4;display:inline-flex}.tuner-scope svg{flex-shrink:0}.tuner-scope--card{color:#afd2c4}.tuner-scope--template{color:#cbbd96}.tuner-scope--game{color:#aec6df}.modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#000000b3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-dialog{background:linear-gradient(#303638,#222526);border:1px solid #515a60;border-radius:8px;flex-direction:column;width:min(500px,100vw - 2rem);min-width:0;max-width:500px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 8px 32px #00000080}.modal-header{border-bottom:1px solid #394145;justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.modal-header h2{color:#edf0ee;margin:0;font-size:1.1rem;font-weight:600}.modal-close{color:#edf0ee;cursor:pointer;opacity:.7;background:0 0;border:none;border-radius:4px;padding:.25rem .5rem;font-size:1.5rem;line-height:1;transition:opacity .15s,background .15s}.modal-close:hover:not(:disabled){opacity:1;background:#ffffff1a}.modal-close:disabled{opacity:.3;cursor:not-allowed}.modal-body{padding:1.5rem 1.25rem;overflow-y:auto}.modal-actions{flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:1rem;display:flex}.modal-actions .btn{min-width:120px}.storage-status{overflow-wrap:anywhere;border-bottom:1px solid #394145;padding-bottom:1rem;font-size:.8rem}.storage-status p{margin:.5rem 0}.storage-status h3{margin:0;font-size:.875rem}.storage-status .btn{white-space:normal;max-width:100%}.storage-status-heading{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.export-config{flex-direction:column;gap:1rem;display:flex}.template-select-header{flex-wrap:wrap;justify-content:space-between;align-items:center;column-gap:.75rem;display:flex}.template-select-header span{color:#edf0ee;font-size:.875rem}.template-select-actions{gap:.75rem;display:flex}.template-select-actions .btn-link{color:#3975b9;cursor:pointer;background:0 0;border:none;padding:0;font-size:.8rem;text-decoration:underline}.template-select-actions .btn-link:hover:not(:disabled){opacity:.8}.template-select-actions .btn-link:disabled{opacity:.4;cursor:not-allowed;text-decoration:none}.template-checklist{border:1px solid #394145;border-radius:4px;flex-direction:column;gap:.25rem;max-height:500px;padding:.25rem;display:flex;overflow-y:auto}.template-check-item{cursor:pointer;border-radius:4px;flex-direction:row;align-items:center;gap:.5rem;padding:.5rem .75rem;transition:background .15s;display:flex}.template-check-item:hover{background:#ffffff0d}.template-check-item.selected{background:#3975b91a}.template-check-item input[type=checkbox]{accent-color:#3975b9;flex-shrink:0;transform:scale(1.2)}.template-check-item .template-check-name{color:#edf0ee;overflow-wrap:anywhere;flex:1;min-width:0;font-size:.875rem}.template-check-item .template-check-count{color:#edf0ee80;text-align:right;font-size:.8rem}.export-summary{color:#edf0eeb3;text-align:center;background:#2b3032;border-radius:4px;padding:.5rem;font-size:.8rem}.import-config{flex-direction:column;gap:1.25rem;display:flex}.import-export-modal .conflict-options .radio-option>span{min-width:0}.import-export-modal .conflict-options .radio-option>span strong,.import-export-modal .conflict-options .radio-option>span span{overflow-wrap:anywhere;display:block}.import-export-modal .conflict-options .radio-option>span span{margin-top:.25rem;font-size:.8rem}.import-export-modal .btn{white-space:normal;justify-content:center;align-items:center;gap:.5rem;display:inline-flex}.import-export-modal .btn svg{flex-shrink:0}.import-export-modal .modal-header h2{overflow-wrap:anywhere;min-width:0}.import-export-modal--review{width:min(720px,100vw - 2rem);max-width:720px;max-height:90dvh}.import-export-modal--review .modal-body{min-height:0}.import-review-context{overflow-wrap:anywhere;border-bottom:1px solid #394145;flex-shrink:0;padding:.5rem 1.25rem}.import-review-context p{margin:.25rem 0;font-size:.8rem}.import-review-context .import-review-file{color:#edf0eea6}.import-impact{overflow-wrap:anywhere}.import-impact section{border-top:1px solid #394145;padding:.75rem 0}.import-impact h3,.import-impact h4{margin:0 0 .5rem;font-size:.875rem}.import-impact p,.import-impact details{margin:.5rem 0}.import-impact summary{cursor:pointer;padding:.25rem 0}.import-impact summary:focus-visible{outline-offset:2px;outline:2px solid #3975b9}.import-impact ul{padding-left:1.25rem}.import-impact li{margin:.5rem 0}.import-impact small{opacity:.8;display:block}.import-game-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;column-gap:1rem;display:flex}.import-game-heading span{color:#edf0eea6;font-size:.8rem}.import-impact-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:.8rem}.import-impact-table th,.import-impact-table td{text-align:right;font-variant-numeric:tabular-nums;padding:.25rem .375rem}.import-impact-table th:first-child{text-align:left;width:40%}.import-impact-table thead{color:#edf0eeb3;border-bottom:1px solid #394145}.import-impact-table tbody th{font-weight:400}.import-impact-table td{color:#edf0ee80}.import-impact-table .has-changes{color:#edf0ee;font-weight:600}.import-impact-table .has-removals{color:#f1d78c;font-weight:600}.import-impact-table tbody tr:nth-child(2n){background:#2b3032}.import-impact-warning{color:#f1d78c;align-items:flex-start;gap:.5rem;margin-top:.5rem;font-size:.8rem;display:flex}.import-impact-warning svg{flex-shrink:0;margin-top:.2rem}.import-impact-warning p{margin:0}.import-game-details{font-size:.8rem}.import-game-details>div{margin:.75rem 0}.import-game-details h4{font-size:.8rem}.import-game-details .import-template-breakdown th:first-child{width:50%}.import-game-details .import-template-breakdown thead th{white-space:normal}.import-game-details .import-template-breakdown td{color:#edf0ee}.import-layout-impact{margin-top:1rem}.import-impact-note{color:#edf0eebf;font-size:.8rem}.import-review-actions{border-top:1px solid #394145;flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:.75rem;padding:1rem;display:flex}.import-review-actions .btn{min-height:40px}.import-review-actions .btn:first-child{margin-right:auto}@media (width<=420px){.import-export-modal--review .modal-body,.import-export-modal--review .import-review-context{padding:.5rem .75rem}.import-export-modal--review .import-impact-total{font-size:.8rem}.import-export-modal--review .import-impact-table th:first-child{width:34%}.import-export-modal--review .import-impact-table thead th{white-space:nowrap;padding:.25rem}.import-export-modal--review .import-review-actions{grid-template-columns:1fr 1fr 1.7fr;gap:.375rem;padding:.5rem;display:grid}.import-export-modal--review .import-review-actions>button{gap:.25rem;min-width:0;min-height:44px;margin:0;padding:.375rem;font-size:.8rem}}.file-info{background:#2b3032;border:1px solid #394145;border-radius:4px;flex-direction:column;gap:.25rem;padding:.75rem;display:flex}.file-info .file-label{color:#edf0ee99;font-size:.8rem}.file-info .file-name{color:#edf0ee;word-break:break-all;font-size:.875rem}.conflict-options{border:1px solid #394145;border-radius:4px;margin:0;padding:1rem}.conflict-options legend{color:#edf0eecc;padding:0 .5rem;font-size:.8rem;font-weight:600}.radio-option{cursor:pointer;border-radius:4px;gap:.75rem;margin:.25rem 0;padding:.75rem;transition:background .15s;display:flex}.radio-option.selected{background:#3975b926;border-color:#3975b9}.radio-option:hover{background:#ffffff0d}.radio-option input[type=radio]{accent-color:#3975b9;margin-top:.25rem;transform:scale(2)}.radio-option div{flex-direction:column;gap:.125rem;display:flex}.radio-option div strong{color:#edf0ee;font-size:.875rem}.radio-option div span{color:#edf0ee99;font-size:.8rem}.progress-section{flex-direction:column;gap:1rem;padding:1rem 0;display:flex}.progress-bar-container{background:#2b3032;border:1px solid #394145;border-radius:4px;height:8px;overflow:hidden}.progress-bar-fill{background:linear-gradient(90deg,#3975b9,#3975b9);border-radius:4px;height:100%;transition:width .2s ease-out}.progress-bar-container--indeterminate{accent-color:#3975b9;width:100%}.progress-text{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.progress-text .progress-percent{color:#3975b9;min-width:3rem;font-size:1.1rem;font-weight:600}.progress-text .progress-status{overflow-wrap:anywhere;color:#edf0eeb3;text-align:right;min-width:0;font-size:.8rem}.result-section{text-align:center;flex-direction:column;align-items:center;gap:1rem;padding:1rem 0;display:flex}.import-export-modal .btn-primary,.import-export-modal .btn-primary:hover:not(:disabled){background:#3975b9;border-color:#3975b9}
