@font-face{font-family:WC_Rhesus_B_Bta;src:url(../fonts/WC_Rhesus_B_Bta.ttf)}@font-face{font-family:Overpass;src:url(../fonts/Overpass-VariableFont_wght.ttf)}@font-face{font-family:GorriSans;src:url(../fonts/GorriSans.ttf)}@font-face{font-family:Crackhouse;src:url(../fonts/Crackhouse.ttf)}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateHairline.otf);font-weight:50;font-style:normal}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateHairlineItalic.otf);font-weight:50;font-style:italic}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateThin.otf);font-weight:100;font-style:normal}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateThinItalic.otf);font-weight:100;font-style:italic}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateExtraLight.otf);font-weight:200;font-style:normal}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateExtraLightItali.otf);font-weight:200;font-style:italic}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateLight.otf);font-weight:300;font-style:normal}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateLightItalic.otf);font-weight:300;font-style:italic}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateRegular.otf);font-weight:400;font-style:normal}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateRegularItalic.otf);font-weight:400;font-style:italic}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateBold.otf);font-weight:700;font-style:normal}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateBoldItalic.otf);font-weight:700;font-style:italic}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateBlack.otf);font-weight:900;font-style:normal}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateBlackItalic.otf);font-weight:900;font-style:italic}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateUltraBlack.otf);font-weight:950;font-style:normal}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateUltraBlackItali.otf);font-weight:950;font-style:italic}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateHairlineCondens.otf);font-weight:50;font-style:normal;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateThinCondensed.otf);font-weight:100;font-style:normal;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateExtraLightConde.otf);font-weight:200;font-style:normal;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateLightCondensed.otf);font-weight:300;font-style:normal;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateLightCondItalic.otf);font-weight:300;font-style:italic;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateRegularCondense.otf);font-weight:400;font-style:normal;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateRegularCondItal.otf);font-weight:400;font-style:italic;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateBoldCondensed.otf);font-weight:700;font-style:normal;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateBoldCondItalic.otf);font-weight:700;font-style:italic;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateBlackCondensed.otf);font-weight:900;font-style:normal;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateBlackCondItalic.otf);font-weight:900;font-style:italic;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateUltraBlackConde.otf);font-weight:950;font-style:normal;font-stretch:75%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateHairlineCompres.otf);font-weight:50;font-style:normal;font-stretch:62.5%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateThinCompressed.otf);font-weight:100;font-style:normal;font-stretch:62.5%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateExtraLightCompr.otf);font-weight:200;font-style:normal;font-stretch:62.5%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateLightCompressed.otf);font-weight:300;font-style:normal;font-stretch:62.5%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateRegularCompress.otf);font-weight:400;font-style:normal;font-stretch:62.5%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateBoldCompressed.otf);font-weight:700;font-style:normal;font-stretch:62.5%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateBlackCompressed.otf);font-weight:900;font-style:normal;font-stretch:62.5%}@font-face{font-family:Interstate;src:url(../fonts/Interstate/InterstateUltraBlackCompr.otf);font-weight:950;font-style:normal;font-stretch:62.5%}@font-face{font-family:Interstate Mono;src:url(../fonts/Interstate/InterstateMonoLight.otf);font-weight:300}@font-face{font-family:Interstate Mono;src:url(../fonts/Interstate/InterstateMonoRegular.otf);font-weight:400}@font-face{font-family:Interstate Mono;src:url(../fonts/Interstate/InterstateMonoBold.otf);font-weight:700}@font-face{font-family:Interstate Mono;src:url(../fonts/Interstate/InterstateMonoBlack.otf);font-weight:900}body{text-align:justify;background:#fff;margin:0;font-family:Overpass,Arial,Helvetica,sans-serif;font-size:9pt}:root{accent-color:var(--sb-black);--sb-yellow:#fecc00;--sb-black:#000;--sb-danger:#be1e2d;--sb-field-h:30px;--sb-small-h:22px;--sb-border-w:2px;--sb-border:var(--sb-border-w) solid var(--sb-black);--sb-pad-x:8px;--sb-gap:6px;--sb-section-pad:8px 10px 10px;--sb-font-size:9.5pt;--sb-display:Interstate, Overpass, Arial, sans-serif}:where(input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden])),select,textarea{height:var(--sb-field-h);padding:0 var(--sb-pad-x);border:var(--sb-border);color:var(--sb-black);font-family:inherit;font-size:var(--sb-font-size);box-sizing:border-box;background-color:#fff;border-radius:0;line-height:1}textarea{height:auto;padding:5px var(--sb-pad-x);resize:vertical;line-height:1.3}:where(input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden])):focus,select:focus,textarea:focus{box-shadow:0 0 0 3px var(--sb-yellow);outline:none}select{appearance:none;cursor:pointer;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='square'/%3E%3C/svg%3E");background-position:right 8px center;background-repeat:no-repeat;background-size:12px 8px;padding-right:26px}input::placeholder,textarea::placeholder{color:#999}.titled-container{border:3px solid;flex-direction:column;width:fit-content;max-width:640px;display:flex}.titled-container hr{border:1px solid #000;width:100%}.titled-container .section-title{margin:10px;font-size:14pt;font-weight:700}.titled-container .title{color:#fecc00;text-transform:uppercase;font-variation-settings:"wght" 900;white-space:nowrap;background:#000;padding:10px;font-size:12pt;font-style:italic}.language-select{background-position:right 6px center;flex-shrink:0;width:auto;height:24px;padding:0 22px 0 6px;font-size:8pt}.app-shell{box-sizing:border-box;height:100vh;display:flex;position:relative}.app-sidebar{width:clamp(320px, var(--sidebar-width,440px), max(320px, min(720px, 50vw)));box-sizing:border-box;border-right:3px solid #000;flex-shrink:0;overflow-y:auto}.sidebar-footer .app-version{font:inherit;color:#000;cursor:pointer;background:0 0;border:none;padding:0;font-weight:700;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.sidebar-footer .app-version:hover{color:#be1e2d}.sidebar-body{padding:1em}.sidebar-footer{z-index:1;color:#666;background:#fff;border-top:1px solid #ccc;flex-direction:column;gap:4px;margin-top:auto;padding:.5em 1em;font-size:8pt;display:flex;position:sticky;bottom:0}.sidebar-footer .kofi-link{color:#c0392b;white-space:nowrap;text-decoration:none}.sidebar-footer .kofi-link:hover{text-decoration:underline}.sidebar-footer-row{justify-content:space-between;align-items:center;gap:1em;display:flex}.sidebar-footer-links{align-items:center;gap:.5em;display:flex}.app-main{box-sizing:border-box;background:#ececec;flex:1;padding:2em;overflow-y:auto}.sidebar-actions{flex-direction:column;gap:.5em;padding:1em;display:flex}.sidebar-actions .btn{width:100%;margin:0}.sidebar-actions .btn-row{flex-direction:row;gap:.5em;display:flex}.sidebar-actions .btn-row .btn{flex:1;width:auto;min-width:0}.mission-list{margin:0 10px;padding:0;list-style:none}.mission-list li{cursor:pointer;border:1px solid #ccc;align-items:center;gap:.4em;margin-bottom:6px;padding:.5em .6em;transition:border-color .15s,background-color .15s;display:flex}.mission-list li:hover{border-color:#000}.mission-list li.active{background:#f5f5f5;border-color:#000;font-weight:700}.mission-list li .mission-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.icon-btn{color:#000;cursor:pointer;background:#fff;border:1px solid #000;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;padding:0;font-size:11pt;line-height:1;transition:background-color .15s,color .15s,transform 50ms;display:inline-flex}.icon-btn:hover:not(:disabled){color:#fecc00;background:#000}.icon-btn:active:not(:disabled){transform:scale(.9)}.icon-btn:disabled{opacity:.3;cursor:not-allowed}.icon-btn-danger:hover:not(:disabled){color:#fff;background:#be1e2d;border-color:#be1e2d}.control-buttons{text-align:center;flex-direction:row;justify-content:right;align-items:center;display:flex}.input-row{flex-direction:row;display:flex}.col-3{width:25%}.col-4{width:33%}.col-6{width:50%}.col-12{width:100%}.input-group{flex-direction:column;margin:10px;display:flex}.reset-layout-group{justify-content:flex-end}.map-footer-legend-controls{align-items:flex-end;gap:.5em}.map-footer-legend-controls .input-group{margin:0}.map-footer-legend-controls .reset-layout-group{align-self:center}.input-group label{font-size:12pt;font-weight:700}.input-group input,.input-group select,.input-group textarea{width:100%}.section-title-row{justify-content:space-between;align-items:center;margin:10px;display:flex}.section-title-row .section-title{margin:0}.toggle-switch{min-height:var(--sb-field-h);cursor:pointer;-webkit-user-select:none;user-select:none;font-family:var(--sb-display);text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:8px;font-size:9pt;font-weight:900;font-stretch:75%;display:inline-flex}.input-group .toggle-switch{font-size:9pt;font-weight:900}.toggle-switch:has(input:disabled){opacity:.45;cursor:not-allowed}.toggle-switch input{opacity:0;width:0;height:0;position:absolute}.toggle-switch-track{box-sizing:border-box;border:var(--sb-border);background:#fff;border-radius:0;flex-shrink:0;width:36px;height:20px;transition:background-color .15s;position:relative}.toggle-switch-track:before{content:"";background:var(--sb-black);width:12px;height:12px;transition:transform .15s;position:absolute;top:2px;left:2px}.toggle-switch input:checked+.toggle-switch-track{background:var(--sb-black)}.toggle-switch input:checked+.toggle-switch-track:before{background:var(--sb-yellow);transform:translate(16px)}.toggle-switch input:focus-visible+.toggle-switch-track{box-shadow:0 0 0 3px var(--sb-yellow)}.toggle-option{text-transform:none;letter-spacing:normal;color:#888;font-family:inherit;font-size:9pt;font-weight:400}.toggle-option.active{color:#000;font-weight:700}.page-size-toggle{margin:10px 0}.objectives-order-toggle{flex-shrink:0;min-height:0}.cover-illustration-controls{flex-direction:column;align-items:center;gap:8px;display:flex}.cover-illustration-preview{width:100%;position:relative}.cover-illustration-thumb{object-fit:cover;border:1px solid #000;width:100%;max-height:160px;display:block}.cover-illustration-overlay{display:flex;position:absolute;bottom:0;left:0;right:0}.cover-illustration-overlay button{text-transform:uppercase;font-variation-settings:"wght" 900;color:#fecc00;cursor:pointer;background:#000000a6;border:none;flex:50%;padding:8px 4px;font-family:Overpass;font-size:8pt;transition:background-color .15s}.cover-illustration-overlay button:hover{background:#000000d9}.cover-illustration-overlay button+button{border-left:1px solid #ffffff4d}.btn{text-transform:uppercase;color:#000;font-variation-settings:"wght" 900;background:#fff;border:1px solid #000;margin:15px;padding:5px 10px;font-family:Overpass;transform:rotate(359deg);box-shadow:-3px 3px #000000bf}.btn:hover{cursor:pointer;background:#f3f3f3}.btn-danger{color:#8a1520;background:#fbdcdc;border-color:#be1e2d}.btn-danger:hover{background:#f6c1c1}.btn:disabled{cursor:not-allowed;opacity:.5}.selectable-tile{margin:5px 10px;box-shadow:-3px 3px #000000bf}.tile-picker{flex-direction:column;flex:none;gap:8px;width:330px;min-height:0;display:flex}.tile-picker-tab-row{flex-direction:column;gap:3px;display:flex}.tile-picker-row-label{text-transform:uppercase;font-variation-settings:"wght" 900;color:#888;font-family:Overpass;font-size:7.5pt}.tile-picker-tabs{flex-wrap:wrap;gap:4px;display:flex}.tile-picker-tab{color:#000;text-transform:uppercase;font-variation-settings:"wght" 900;cursor:pointer;background:#fff;border:1px solid #000;padding:6px 10px;font-family:Overpass;font-size:9pt}.tile-picker-tab:hover{background:#f3f3f3}.tile-picker-tab.active{color:#fecc00;background:#000}.tile-picker-game-tabs .tile-picker-tab{color:#fecc00;background:#000;border-color:#000}.tile-picker-game-tabs .tile-picker-tab:hover{background:#333}.tile-picker-game-tabs .tile-picker-tab.active{color:#000;background:#fecc00}.tile-selector-panel{flex-direction:column;flex:auto;gap:10px;min-height:0;display:flex;overflow-y:auto}.tile-selector-heading{text-transform:uppercase;font-variation-settings:"wght" 900;color:#555;margin:0 0 2px 2px;font-family:Overpass;font-size:8pt}.tile-selector{flex-wrap:wrap;gap:4px;display:flex}.tile-selector img{object-fit:contain;background:#e8e8e8;width:128px;height:128px}.tile-selector img.token-thumb{width:64px;height:64px}.tile-selector img:hover,.tile-selector img.active{filter:brightness(.6);cursor:grab}.tile-selector::-webkit-scrollbar{width:8px;height:8px}.tile-selector::-webkit-scrollbar-button{width:0;height:0}.tile-selector::-webkit-scrollbar-thumb{background:#e0e0e0;border:0 #fff;border-radius:0}.tile-selector::-webkit-scrollbar-thumb:hover{background:#afafaf}.tile-selector::-webkit-scrollbar-thumb:active{background:#969696}.tile-selector::-webkit-scrollbar-track{background:#000;border:0 #fff;border-radius:0}.tile-selector::-webkit-scrollbar-track:hover{background:#111}.tile-selector::-webkit-scrollbar-track:active{background:#111}.tile-selector::-webkit-scrollbar-corner{background:0 0}.mission-form{margin-bottom:1em}.mission-editor-columns{gap:1.5em;display:flex}.mission-editor-column{flex:1;min-width:0}.modal-body.map-edit-modal-body{flex-direction:column;min-height:0;display:flex}.map-editor-body{flex-direction:column;flex:auto;gap:.5em;min-height:0;display:flex}.map-editor-game-row{flex:none}.map-editor-columns{flex-direction:row;flex:auto;gap:.75em;min-height:0;display:flex}.map-canvas-viewport{background:#f2f0ea;flex:auto;min-width:0;min-height:0;position:relative;overflow:hidden}.map-canvas-viewport.drag-over{outline-offset:-3px;background:#4590b014;outline:3px dashed #4590b0}.map-canvas-stage{position:absolute;inset:0}.map-sector-overlay-wrap{transform-origin:0 0;pointer-events:none;z-index:3;position:absolute;top:0;left:0}.map-zoom-controls{z-index:5;background:#ffffffeb;border:1px solid #bbb;border-radius:4px;align-items:center;gap:2px;padding:3px;display:flex;position:absolute;bottom:10px;right:10px;box-shadow:0 1px 4px #0003}.map-zoom-controls button{color:#222;min-width:28px;height:26px;font:inherit;cursor:pointer;background:#fff;border:1px solid #aaa;border-radius:3px;padding:0 6px;font-weight:700}.map-zoom-controls button:hover{background:#eef6fa;border-color:#4590b0}.map-zoom-readout{text-align:center;font-variant-numeric:tabular-nums;min-width:44px;font-size:.85em}.map-zoom-controls button:disabled{opacity:.4;cursor:default}.map-zoom-controls .map-zoom-rotate{margin-left:4px}.map-zoom-controls .map-zoom-fit{margin-left:4px;font-weight:400}.empty-hint{color:#777;margin:0 10px;font-style:italic}.repeatable-list{flex-direction:column;gap:8px;margin:0 10px;display:flex}.repeatable-list-item{border:1px solid #ccc;align-items:center;gap:8px;padding:8px;display:flex}.repeatable-list-item.dragging{opacity:.45}.repeatable-list-item.drag-over{border-color:#000}.drag-handle{cursor:grab;color:#999;background:0 0;border:none;flex-shrink:0;align-self:center;padding:0 2px}.drag-handle:active{cursor:grabbing}.repeatable-list-item-content{flex-direction:column;flex:1;gap:4px;display:flex}.repeatable-textarea{min-height:3em;padding:4px 6px;font-family:inherit;font-size:10pt}.repeatable-input{box-sizing:border-box;height:auto;min-height:26px;padding:3px 6px;font-family:inherit;font-size:9pt;line-height:1}.input-inline-title{height:auto;padding:4px 6px;font-size:10pt;font-weight:700}.booklet-pages .mission-page-row{margin-bottom:1em}.booklet-empty-hint{text-align:center;color:#666;background:#fff;border:1px solid #ccc;max-width:600px;margin:4em auto;padding:2em}.modal-overlay{z-index:100;background:#0009;justify-content:center;align-items:center;padding:2em;display:flex;position:fixed;inset:0}.modal-panel{background:#fff;border:4px solid #000;flex-direction:column;width:100%;max-width:1100px;max-height:100%;display:flex;box-shadow:0 0 1em #00000080}.modal-panel.map-edit-modal-panel{height:70vh}.modal-header{color:#fecc00;background:#000;flex:none;padding:.75em 1em}.modal-header .title{text-transform:uppercase;font-variation-settings:"wght" 900;font-size:12pt;font-style:italic}.modal-body{flex:auto;padding:1em;overflow-y:auto}.modal-footer{background:#fff;border-top:4px solid #000;flex:none;justify-content:flex-end;align-items:flex-end;gap:.5em;padding:.75em 1em;display:flex}.modal-footer-start{align-items:flex-end;gap:.5em;margin-right:auto;display:flex}.modal-footer .btn{white-space:nowrap;margin:0;padding:6px 14px;font-size:9pt}.changelog-panel{max-width:500px}.license-panel{max-width:560px}.credits-heading{border-top:1px solid #ccc;margin:1.2em 0 .4em;padding-top:.8em}.credits-list{border:1px solid #ccc;max-height:260px;padding:0 .8em;font-size:.9em;overflow-y:auto}.credits-source+.credits-source{border-top:1px solid #e3e3e3}.credits-source h4{margin:.7em 0 .2em}.credits-count{color:#666;font-weight:400}.credits-source p{margin:.25em 0 .6em}.confirm-panel{max-width:460px}.changelog-entry+.changelog-entry{border-top:1px solid #ccc;margin-top:1.5em;padding-top:1.5em}.changelog-entry-heading{align-items:baseline;gap:.75em;margin-bottom:.5em;display:flex}.changelog-version{font-variation-settings:"wght" 900;font-size:12pt}.changelog-date{color:#888;font-size:8pt}.changelog-entry ul{margin:0;padding-left:1.25em}.changelog-entry li{margin:.25em 0}.mission-page-row{width:fit-content;margin:0 auto}.mission-page-row .page{margin:0}.decoration-section{flex-direction:column;gap:.5em;margin:0 10px;display:flex}.decoration-target{color:#555;margin:0;font-size:9pt}.toolbar-actions-row{justify-content:space-between;align-items:center;gap:.5em;display:flex}.stain-count-label{align-items:center;gap:.3em;font-size:9pt;display:flex}.stain-count-label input{width:4.2em}.btn-compact{margin:0;padding:4px 8px;font-size:8.5pt}.stain-handles{z-index:2;pointer-events:none;outline:1px dashed #4590b0;position:absolute}.stain-handle{pointer-events:auto;background:#4590b0;border:1px solid #fff;position:absolute;box-shadow:0 0 2px #0009}.stain-handle-rotate{cursor:grab;border-radius:50%;width:12px;height:12px;top:-22px;left:50%;transform:translate(-50%)}.stain-handle-resize{cursor:nwse-resize;width:10px;height:10px;bottom:-5px;right:-5px}.layout-handle{z-index:3;opacity:0;background:#4590b0;border:1px solid #fff;transition:opacity .15s;position:absolute;box-shadow:0 0 2px #0009}.map-diagram:hover .layout-handle,.token-legend:hover .layout-handle{opacity:1}.layout-corner-handle.corner-tl{cursor:nwse-resize;top:-6px;left:-6px}.layout-corner-handle.corner-br{cursor:nwse-resize;bottom:-6px;right:-6px}.layout-corner-handle.corner-tr{cursor:nesw-resize;top:-6px;right:-6px}.layout-corner-handle.corner-bl{cursor:nesw-resize;bottom:-6px;left:-6px}.map-resize-handle{width:12px;height:12px}.map-move-handle-center,.legend-move-handle-center{cursor:grab;background-color:#4590b0d9;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:18px 18px;border:none;border-radius:50%;width:28px;height:28px;top:50%;left:50%;transform:translate(-50%,-50%)}.map-move-handle-center:active,.legend-move-handle-center:active{cursor:grabbing}.legend-corner-resize-handle{width:12px;height:12px}.tile-diagram-draggable{cursor:grab}.tile-diagram-draggable:active{cursor:grabbing}.tile-diagram-drag-icon{opacity:0;pointer-events:none;justify-content:center;align-items:center;transition:opacity .15s;display:flex;position:absolute;inset:0}.tile-diagram-draggable:hover .tile-diagram-drag-icon{opacity:1}.tile-diagram-drag-icon:before{content:"";background-color:#4590b0d9;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:18px 18px;border-radius:50%;width:28px;height:28px;box-shadow:0 0 3px #0009}.layout-drop-zone{z-index:6;pointer-events:none;background:#4590b026;border:2px dashed #4590b0;position:absolute}.layout-legend-ghost{z-index:7;box-sizing:border-box;outline-offset:-4px;pointer-events:none;background:#fecc0040;border:2px dashed #000;outline:2px dashed #fecc00;position:absolute}.layout-drop-zone.active{background:#fecc004d;border-color:#fecc00}.stain-type-picker{grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:4px;display:grid}.stain-type-option{aspect-ratio:1;box-sizing:border-box;cursor:pointer;background:#fff;border:1px solid #ccc;justify-content:center;align-items:center;width:100%;padding:0;display:flex}.stain-type-option:hover{background:#f0f0f0}.stain-type-option .stain{color:#cd3e20;font-size:17px;line-height:1}.stain-type-option.active{background:#fecc00;border:2px solid #000}.artwork-picker{flex-direction:column;gap:.4em;display:flex}.artwork-picker-grid{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:4px;max-height:300px;padding:6px 6px 0 0;display:grid;overflow-y:auto}.artwork-picker-item{position:relative}.artwork-picker-option{aspect-ratio:1;box-sizing:border-box;cursor:pointer;background:#fff;border:1px solid #ccc;justify-content:center;align-items:center;width:100%;padding:3px;display:flex}.artwork-picker-option:hover{background:#f0f0f0}.artwork-picker-option img{object-fit:contain;max-width:100%;max-height:100%}.artwork-picker-option.active{background:#fecc00;border:2px solid #000}.artwork-picker-remove{color:#fff;cursor:pointer;background:#be1e2d;border:1px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:17px;height:17px;padding:0;font-size:11px;line-height:1;display:flex;position:absolute;top:-6px;right:-6px}.sector-mode-btn.active{color:#fff;background:#4590b0}.map-sector-overlay.editing{pointer-events:auto;cursor:crosshair;touch-action:none}.map-sector-label-grip{cursor:move}.map-sector-label-grip circle{fill:#ed1c24;stroke:#fff;stroke-width:1.5px}.map-sector-label-grip text{fill:#fff;-webkit-user-select:none;user-select:none;font-size:10px}.map-sector-hover{fill:#4590b059;stroke:#4590b0;stroke-width:1px;pointer-events:none}.sector-panel{flex-direction:column;flex:none;gap:8px;width:280px;min-height:0;font-size:15px;display:flex;overflow-y:auto}.sector-panel-title{font-size:1.1em;font-weight:700}.sector-panel-hint{color:#444;text-align:left;margin:0;font-size:.9em;line-height:1.4}.sector-panel-list{flex-direction:column;gap:2px;display:flex}.sector-panel-row{cursor:pointer;border-left:4px solid #0000;align-items:center;gap:2px;padding:2px 2px 2px 6px;display:flex}.sector-panel-row:hover{background:#f2f2f2}.sector-panel-row.active{background:#fff6cc;border-left-color:#f5c400}.sector-panel-row input[type=text]{background:0 0;border:2px solid #0000;flex:auto;min-width:0;height:auto;padding:3px 6px;font-size:1.1em;font-weight:600}.sector-panel-row input[type=text]:hover,.sector-panel-row input[type=text]:focus{background:#fff;border-color:#000}.sector-panel-delete{color:#888;cursor:pointer;background:0 0;border:none;flex:none;width:26px;height:26px;padding:0;font-size:20px;line-height:1}.sector-panel-delete:hover{color:#ed1c24}.sector-panel-actions{flex-wrap:wrap;gap:4px;display:flex}.map-own-page-select,label.map-own-page-select{white-space:nowrap;font-family:var(--sb-display);text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:8px;font-size:9pt;font-weight:900;font-stretch:75%;display:flex}.map-own-page-select select{font-family:Overpass,Arial,sans-serif;font-size:var(--sb-font-size);text-transform:none;letter-spacing:normal;font-weight:400;font-stretch:100%}.map-footer-legend-controls .toggle-switch{white-space:nowrap}.map-tabs{background:#ececec;border-bottom:2px solid #000;flex:none;align-items:flex-end;min-width:0;padding:8px 12px 0;display:flex}.map-tabs-scroll{scrollbar-width:thin;align-items:flex-end;gap:3px;min-width:0;margin-bottom:-2px;padding-bottom:2px;display:flex;overflow:auto hidden}.map-tab{color:#666;text-transform:uppercase;font-variation-settings:"wght" 900;background:#d9d9d9;border:1px solid #000;border-bottom-width:2px;flex:none;align-items:center;max-width:18em;font-family:Overpass;font-size:10pt;display:flex;position:relative}.map-tab:not(.active):hover{color:#000;background:#f3f3f3}.map-tab.active{color:#000;background:#fff;border-top:4px solid #fecc00;border-bottom-color:#fff;margin-bottom:-2px;padding-bottom:2px}.map-tab.dragging{opacity:.45}.map-tab.drop-target{box-shadow:inset 4px 0 #fecc00}.map-tab-label{font:inherit;text-transform:inherit;color:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;min-width:3em;max-width:16em;padding:8px 14px;overflow:hidden}.map-tab.active .map-tab-label{cursor:default}.map-tab-label:focus-visible,.map-tab-icon:focus-visible,.map-tab-add:focus-visible{outline-offset:-4px;outline:2px solid #000}.map-tab-icon{font:inherit;color:#888;cursor:pointer;background:0 0;border:0;margin-right:2px;padding:4px 5px;font-size:10pt;line-height:1}.map-tab-icon:hover{color:#000}.map-tab-eye{align-items:center;display:inline-flex}.map-tab-eye[aria-pressed=true]{color:#000}.map-tab-close{margin-left:-4px;font-size:12pt}.map-tab-close:hover{color:#be1e2d}.map-tab-input{font:inherit;text-transform:inherit;color:#000;background:#fffbe0;border:2px solid #000;min-width:5em;max-width:14em;height:auto;margin:3px 6px;padding:2px 4px}.map-tab-add{color:#444;font-variation-settings:"wght" 900;cursor:pointer;background:0 0;border:1px dashed #000;border-bottom:2px solid #000;flex:none;margin-left:3px;padding:5px 12px 4px;font-family:Overpass;font-size:12pt;line-height:1}.map-tab-add:hover{color:#000;background:#fecc00;border-style:solid}.collapsible-section{border-top:2px solid #000;padding-bottom:6px}.collapsible-section:first-child{border-top:none}.collapsible-section.is-collapsed{padding-bottom:0}.collapsible-toggle{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:.4em;padding:6px 0;display:inline-flex}.collapsible-toggle:hover .section-title{color:#be1e2d}.collapsible-toggle:focus-visible{outline-offset:2px;outline:2px solid #be1e2d}.collapsible-chevron{font-size:12pt;transition:transform .15s;display:inline-block}.is-collapsed .collapsible-chevron{transform:rotate(-90deg)}.collapsible-section>[hidden]{display:none}.titled-container .collapsible-toggle .section-title{margin:0}.symbol-popover{z-index:100000;background:#fff;border:2px solid #111;border-radius:4px;flex-wrap:nowrap;gap:3px;max-width:calc(100vw - 8px);padding:4px;display:flex;position:fixed;box-shadow:3px 3px #f5c400,0 4px 14px #0006}.symbol-popover button{cursor:pointer;background:#f2f2f2;border:1px solid #999;border-radius:3px;flex:none;width:auto;min-width:28px;height:28px;padding:2px 4px;font-size:16px;line-height:1}.symbol-popover button:hover,.symbol-popover button:focus-visible{background:#fff4b0;border-color:#111;outline:2px solid #f5c400}.symbol-popover .text-symbol{pointer-events:none;vertical-align:middle;font-size:16px}.sidebar-resizer{top:0;bottom:0;left:calc(clamp(320px, var(--sidebar-width,440px), max(320px, min(720px, 50vw))) - 1px);z-index:5;cursor:col-resize;touch-action:none;background:0 0;width:6px;transition:background .1s;position:absolute}.sidebar-resizer:hover,.sidebar-resizer:focus-visible,.sidebar-resizer.dragging{background:#fecc00;outline:none}body.sidebar-resizing{-webkit-user-select:none;user-select:none;cursor:col-resize}@media print{.sidebar-resizer{display:none!important}}@media screen{@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:#fecc00 #e4e4e4}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#e4e4e4;border-left:1px solid #bbb}::-webkit-scrollbar-thumb{background:#fecc00;border:2px solid #000;border-radius:0}::-webkit-scrollbar-thumb:hover{background:#ffe066}::-webkit-scrollbar-corner{background:#e4e4e4}.desktop-only-screen::-webkit-scrollbar-track{background:#000;border-left-color:#333}}.app-sidebar>.title{padding:8px 10px}.app-sidebar .sidebar-body{padding:0 0 6px}.app-sidebar .sidebar-footer{padding:6px 10px 7px}.app-sidebar .collapsible-section{border-top:none;padding-bottom:0}.app-sidebar .collapsible-section+.collapsible-section{margin-top:4px}.app-sidebar .section-title-row{background:var(--sb-black);gap:8px;min-height:30px;margin:0;padding:0 8px 0 4px;position:relative}.app-sidebar .collapsible-section:not(.is-collapsed)>.section-title-row:after{content:"";background:repeating-linear-gradient(-45deg, var(--sb-yellow) 0 6px, var(--sb-black) 6px 12px);height:4px;position:absolute;bottom:-4px;left:0;right:0}.app-sidebar .collapsible-toggle{color:#fff;gap:6px;padding:4px}.app-sidebar .collapsible-toggle .section-title{font-family:var(--sb-display);text-transform:uppercase;letter-spacing:.06em;color:#fff;margin:0;font-size:11pt;font-weight:900;font-stretch:75%}.app-sidebar .collapsible-toggle:hover .section-title{color:var(--sb-yellow)}.app-sidebar .collapsible-toggle:focus-visible{outline:2px solid var(--sb-yellow);outline-offset:-2px}.app-sidebar .collapsible-chevron{text-align:center;width:1em;color:var(--sb-yellow);font-size:10pt}.app-sidebar .collapsible-section>[hidden]{display:none!important}.app-sidebar .collapsible-section>div:not(.section-title-row){padding:var(--sb-section-pad)}.app-sidebar .input-group{margin:0 0 var(--sb-gap)}.app-sidebar .input-group:last-child{margin-bottom:0}.app-sidebar .input-group>label:not(.toggle-switch){font-family:var(--sb-display);text-transform:uppercase;letter-spacing:.04em;text-align:left;margin-bottom:2px;font-size:8.5pt;font-weight:900;font-stretch:75%;line-height:1.2}.app-sidebar .section-title-row>.toggle-switch{min-height:0}.app-sidebar .section-title-row>.toggle-switch .toggle-switch-track{border-color:var(--sb-yellow);background:var(--sb-black)}.app-sidebar .section-title-row>.toggle-switch .toggle-switch-track:before{background:#777}.app-sidebar .section-title-row>.toggle-switch input:checked+.toggle-switch-track{background:var(--sb-yellow)}.app-sidebar .section-title-row>.toggle-switch input:checked+.toggle-switch-track:before{background:var(--sb-black)}.app-sidebar .section-title-row>.toggle-switch input:focus-visible+.toggle-switch-track{box-shadow:0 0 0 2px #fff}.app-sidebar .input-group:has(>.toggle-switch){flex-direction:row;justify-content:space-between;align-items:center;gap:8px}.app-sidebar .input-group>.toggle-switch{margin:0}.app-sidebar .page-size-toggle{min-height:0;margin:0}.app-sidebar .btn{height:var(--sb-field-h);border:var(--sb-border);font-family:var(--sb-display);font-variation-settings:normal;letter-spacing:.06em;white-space:nowrap;text-overflow:ellipsis;border-radius:0;margin:0;padding:0 10px;font-size:10pt;font-weight:900;font-stretch:75%;line-height:1;overflow:hidden}.app-sidebar .btn:focus-visible{outline:2px solid var(--sb-yellow);outline-offset:1px}.app-sidebar .btn.btn-danger{border-color:var(--sb-danger)}.app-sidebar .btn.btn-compact{height:var(--sb-small-h);background:var(--sb-yellow);border-color:var(--sb-yellow);padding:0 8px;font-size:8.5pt;box-shadow:-2px 2px #ffffff8c}.app-sidebar .btn.btn-compact:hover{background:#fff}.app-sidebar .sidebar-actions{grid-template-columns:1fr 1fr;gap:8px 10px;padding-bottom:12px;padding-left:13px;display:grid}.app-sidebar .sidebar-actions .btn,.app-sidebar .sidebar-actions .btn-row .btn{flex:none;width:100%;min-width:0}.app-sidebar .sidebar-actions .btn-row{display:contents}.app-sidebar .sidebar-actions>.btn:nth-child(3){grid-column:1/-1}.app-sidebar .cover-illustration-controls{align-items:stretch;gap:6px}.app-sidebar .cover-illustration-thumb{border:var(--sb-border);max-height:84px}.app-sidebar .cover-illustration-overlay button{font-family:var(--sb-display);font-variation-settings:normal;letter-spacing:.06em;padding:4px;font-size:8pt;font-weight:900;font-stretch:75%}.app-sidebar .mission-list{margin:0}.app-sidebar .mission-list li{min-height:var(--sb-field-h);box-sizing:border-box;padding:0 4px 0 var(--sb-pad-x);border:var(--sb-border);font-family:var(--sb-display);letter-spacing:.02em;background:#fff;gap:4px;margin-bottom:4px;font-size:10pt;font-weight:700;font-stretch:75%}.app-sidebar .mission-list li:last-child{margin-bottom:0}.app-sidebar .mission-list li:hover{background:#fff6c9}.app-sidebar .mission-list li.active{background:var(--sb-yellow);font-weight:900;box-shadow:-3px 3px #000000bf}.app-sidebar .mission-list li{position:relative}.app-sidebar .mission-list li.dragging{opacity:.4}.app-sidebar .mission-list li.drag-over-before:before,.app-sidebar .mission-list li.drag-over-after:after{content:"";background:var(--sb-danger);height:4px;box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--sb-black);pointer-events:none;position:absolute;left:-2px;right:-2px}.app-sidebar .mission-list li.drag-over-before:before{top:-5px}.app-sidebar .mission-list li.drag-over-after:after{bottom:-5px}.app-sidebar .mission-list .drag-handle{width:16px;height:var(--sb-small-h);color:var(--sb-black);touch-action:none;margin-left:-4px;padding:0;font-size:12pt;line-height:1}.app-sidebar .mission-list .drag-handle:focus-visible{outline:2px solid var(--sb-black);box-shadow:0 0 0 4px var(--sb-yellow)}.app-sidebar .icon-btn{width:var(--sb-small-h);height:var(--sb-small-h);border:var(--sb-border);border-radius:0;font-family:Arial,sans-serif;font-size:9.5pt;font-weight:900}.app-sidebar .icon-btn:focus-visible{outline:2px solid var(--sb-black);outline-offset:1px;box-shadow:0 0 0 4px var(--sb-yellow)}.app-sidebar .icon-btn-danger{color:var(--sb-danger);border-color:var(--sb-danger)}:is(.app-sidebar .collapsible-section>div:has(#campaign-doc-type),.app-sidebar .collapsible-section>div:has(#app-settings-tile-colours)){grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10px;display:grid}:is(.app-sidebar .collapsible-section>div:has(#campaign-doc-type)>.input-group,.app-sidebar .collapsible-section>div:has(#app-settings-tile-colours)>.input-group){min-width:0}.app-sidebar .collapsible-section>div:has(#campaign-doc-type)>.input-group>label:not(.toggle-switch){white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.app-sidebar .collapsible-section>div:has(#campaign-doc-type)>.input-group select{text-overflow:ellipsis;width:100%;min-width:0}.app-sidebar .input-group.stacked-toggle:has(>.toggle-switch){flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.app-sidebar .input-group.stacked-toggle>.toggle-switch{min-height:var(--sb-field-h);align-self:stretch;align-items:center}.app-sidebar .input-group.stacked-toggle{gap:2px}.app-sidebar .stacked-toggle .page-size-toggle{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:6px;width:100%;display:grid;position:relative}.app-sidebar .stacked-toggle .page-size-toggle>input{opacity:0;pointer-events:none;position:absolute}.app-sidebar .stacked-toggle .page-size-toggle>.toggle-option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.app-sidebar .stacked-toggle .page-size-toggle>.toggle-option:first-child{text-align:right;grid-column:1;justify-self:end;max-width:100%}.app-sidebar .stacked-toggle .page-size-toggle>.toggle-switch-track{grid-column:2}.app-sidebar .stacked-toggle .page-size-toggle>.toggle-option:last-child{text-align:left;grid-column:3;justify-self:start;max-width:100%}:is(.app-sidebar .input-group:has(#campaign-title),.app-sidebar .input-group:has(#campaign-edition)){grid-column:1/-1}.app-sidebar .cover-illustration-thumb{max-height:64px}.app-sidebar .sidebar-actions{padding-bottom:8px}.visually-hidden-title{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-logo{color:#fecc00;background:#000;align-items:center;gap:12px;display:flex}.app-logo-emblem{flex:none;width:52px;height:52px}.app-logo-text{text-transform:uppercase;flex-direction:column;font-family:Interstate,Overpass,Arial,sans-serif;font-style:italic;font-weight:900;font-stretch:75%;line-height:1;display:flex}.app-logo-top{letter-spacing:.05em;color:#fecc00;font-size:34px}.app-logo-bottom{letter-spacing:.22em;color:#fff;border-top:2px solid #be1e2d;margin-top:4px;padding-top:4px;font-size:17px}@media screen{.desktop-only-screen{z-index:1000000;box-sizing:border-box;text-align:center;color:#fff;background:#000;flex-direction:column;justify-content:center;align-items:center;gap:28px;padding:24px;display:flex;position:fixed;inset:0;overflow-y:auto}.desktop-only-screen .app-logo{text-align:center;flex-direction:column}.desktop-only-screen .app-logo-emblem{width:96px;height:96px}.desktop-only-body h2{text-transform:uppercase;color:#fecc00;margin:0 0 12px;font-family:Interstate,Overpass,Arial,sans-serif;font-size:24px;font-style:italic;font-weight:900;font-stretch:75%}.desktop-only-body p{max-width:420px;margin:0 auto 24px;font-size:16px;line-height:1.45}.desktop-only-continue{color:#fecc00;font:inherit;cursor:pointer;background:0 0;border:none;padding:8px;text-decoration:underline}}.gen-panel{max-width:820px}.gen-steps{flex-wrap:wrap;gap:.4em;margin:0 0 1em;padding:0;list-style:none;display:flex}.gen-step{text-transform:uppercase;text-align:center;color:#888;background:#fff;border:1px solid #000;flex:1 1 0;min-width:5.5em;padding:4px 6px;font-size:9pt}.gen-step.is-active{color:#fecc00;background:#000}.gen-step.is-done{color:#000;background:#f1e4a6}.gen-step.is-skipped{opacity:.4;text-decoration:line-through}.gen-section{margin-bottom:1.25em}.gen-section h3{text-transform:uppercase;margin:0 0 .4em;font-size:11pt}.gen-help{color:#555;margin:0 0 .6em;font-size:10pt}.gen-summary{background:#f1e4a6;border:1px solid #000;margin-bottom:1em;padding:6px 10px;font-size:10pt}.gen-row{flex-wrap:wrap;align-items:center;gap:.6em 1em;margin-bottom:.6em;display:flex}.gen-row label{font-weight:700}.gen-row .btn,.gen-actions .btn,.gen-stepper .btn,.gen-reroll{margin:0;padding:4px 10px;font-size:9pt}.gen-actions{flex-wrap:wrap;gap:.5em;margin-bottom:.6em;display:flex}.gen-preset.is-active{background:#f1e4a6;font-weight:700}.gen-stepper{align-items:center;gap:.4em;display:inline-flex}.gen-stepper .gen-stepper-value{text-align:center;min-width:2.5em;font-weight:700}.gen-number{width:6em}.gen-choice{align-items:center;gap:.4em;margin-bottom:.25em;display:flex}.gen-choices-inline{flex-wrap:wrap;gap:.4em 1.2em;display:flex}.gen-chips{flex-wrap:wrap;gap:4px;display:flex}.gen-chip{color:#000;cursor:pointer;background:#fff;border:1px solid #000;padding:2px 7px;font-family:inherit;font-size:9pt}.gen-chip:hover{background:#eee}.gen-chip.is-include{background:#cfeacb;border-color:#2f7a28}.gen-chip.is-exclude{background:#fbdcdc;border-color:#be1e2d;text-decoration:line-through}.gen-tile-preview{float:right;color:#777;text-align:center;background:#eee;border:1px solid #000;justify-content:center;align-items:center;width:110px;height:110px;margin:0 0 .5em .5em;font-size:8pt;display:flex}.gen-tile-preview img{max-width:100%;max-height:100%}.gen-error{color:#8a1520;background:#fbdcdc;border:2px solid #be1e2d;margin-bottom:1em;padding:8px 10px}.gen-slots{margin:0 0 1em;padding:0;list-style:none}.gen-slot{border-bottom:1px solid #ccc;grid-template-columns:2em auto minmax(0,1fr) auto;align-items:start;gap:4px .8em;padding:6px 0;display:grid}.gen-slot-index{grid-row:1/span 4;font-weight:700}.gen-slot-title{overflow-wrap:anywhere;font-weight:700}.gen-slot-meta{color:#444;overflow-wrap:anywhere;grid-column:3;font-size:9pt}.gen-slot-note{color:#8a5a00;grid-column:3;font-size:9pt;font-style:italic}.gen-slot-title{grid-column:3}.gen-slot-actions{flex-wrap:wrap;grid-area:1/4/span 4;justify-content:flex-end;gap:.3em;max-width:16em;padding-bottom:4px;display:flex}.gen-slot .gen-reroll.is-on{background:#fecc00;font-weight:700}.gen-slot .gen-reroll:disabled{opacity:.45}.gen-slot.is-locked{background:#fecc001f}.gen-thumb-btn{cursor:zoom-in;background:#eee;border:1px solid #999;grid-area:1/2/span 4;align-self:start;padding:0;line-height:0}.gen-thumb-btn:disabled{cursor:default}.gen-thumb{max-width:100%;display:block}.gen-thumb-empty{box-sizing:border-box;text-align:center;color:#777;justify-content:center;align-items:center;font-size:8pt;line-height:1.2;display:flex}.gen-lightbox{z-index:110;background:#000000b3;justify-content:center;align-items:center;padding:1em;display:flex;position:fixed;inset:0}.gen-lightbox-body{background:#fff;max-width:96vw;max-height:96vh;padding:.8em;line-height:0;overflow:auto}.gen-lightbox-body .gen-thumb{max-width:100%;height:auto!important}.gen-lightbox-caption{margin-top:.4em;font-weight:700;line-height:1.3}.gen-pick{background:#fff;flex-direction:column;width:min(46em,96vw);max-height:90vh;display:flex}.gen-pick-head{border-bottom:2px solid #000;flex-wrap:wrap;align-items:center;gap:.5em .8em;padding:.7em;display:flex}.gen-pick-head input[type=search]{flex:12em}.gen-pick-head .btn{margin:0;padding:4px 10px;font-size:9pt}.gen-pick-list{margin:0;padding:0;list-style:none;overflow:auto}.gen-pick-row{text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #ccc;grid-template-columns:5.5em 1fr;gap:2px .6em;padding:6px .7em;display:grid}.gen-pick-row:hover:not(:disabled){background:#fff3cd}.gen-pick-row:disabled{opacity:.55;cursor:default}.gen-pick-title{font-weight:700}.gen-pick-meta,.gen-pick-tags{color:#444;grid-column:2;font-size:9pt}.gen-pick-tags{font-style:italic}.gen-badge{text-transform:uppercase;color:#fecc00;background:#000;border:1px solid #000;margin-right:.4em;padding:0 6px;font-size:8pt;display:inline-block}.gen-badge.is-random{color:#000;background:#fff}.gen-totals{font-weight:700}.gen-wide{width:100%;max-width:24em}@media (width<=600px){.modal-overlay:has(.gen-panel){padding:.5em}.gen-tile-preview{display:none}.gen-panel .modal-footer{flex-wrap:wrap}}.gen-size-pair{flex-wrap:wrap;align-items:center;gap:.4em 1.2em;display:inline-flex}.gen-size-field{align-items:center;gap:.5em;display:inline-flex}.gen-shape-slider{flex-direction:column;gap:.3em;max-width:26em;margin-bottom:.8em;display:flex}.gen-shape-slider input[type=range]{width:100%}.gen-shape-ends{justify-content:space-between;font-weight:600;display:flex}.gen-shape-readout{text-align:center}.gen-shape-slider .gen-help{margin:0}.gen-badge.is-warn{color:#6b4a00;text-transform:none;background:#fff3cd;border-color:#b8860b}.gen-slot-badges{grid-column:3}.gen-over-max{color:#8a5a00;cursor:help;font-weight:700}.gen-score{background:#fff;border:1px solid #000;align-items:center;gap:4px;margin-right:.4em;padding:0 4px;font-size:8pt;font-weight:700;display:inline-flex}.gen-score-bar{background:#fff;border:1px solid #000;width:34px;height:6px;display:inline-block}.gen-score-bar>span{background:#fecc00;height:100%;display:block}.gen-score[data-band=hard] .gen-score-bar>span{background:#c0392b}.gen-score[data-band=easy] .gen-score-bar>span{background:#7fb069}.gen-header{justify-content:space-between;align-items:center;gap:.75em;display:flex}.gen-howto-btn{font:inherit;color:#fecc00;cursor:pointer;white-space:nowrap;background:0 0;border:2px solid #fecc00;flex:none;padding:2px 10px;font-size:9pt;font-weight:700}.gen-howto-btn:hover,.gen-howto-btn:focus-visible{color:#000;background:#fecc00}.gen-howto-overlay{z-index:120}.gen-howto-panel{max-width:700px}.gen-howto-lead{color:#555;margin:0 0 1em}.gen-howto-section{margin-bottom:1.25em}.gen-howto-section h3{color:#fecc00;text-transform:uppercase;background:#000;flex-wrap:wrap;align-items:center;gap:.4em;margin:0 0 .4em;padding:4px 8px;font-size:11pt;font-style:italic;display:flex}.gen-howto-num{color:#000;background:#fecc00;border-radius:50%;justify-content:center;align-items:center;min-width:1.5em;height:1.5em;font-size:9pt;font-style:normal;display:inline-flex}.gen-howto-icons{gap:4px;margin-left:auto;display:inline-flex}.gen-howto-icons img{background:#fff;border-radius:3px;width:auto;max-width:34px;height:24px;padding:1px}.gen-howto-section p{margin:0 0 .4em}.gen-howto-section ul{margin:0;padding-left:1.3em}.gen-howto-section li{margin-bottom:.35em}.gen-howto-link{font:inherit;text-align:left;color:#000;cursor:pointer;background:0 0;border:none;margin:-.25em 0 .5em;padding:0;font-size:9pt;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;display:block}.gen-howto-link:hover{color:#be1e2d}@media (width<=600px){.gen-howto-overlay{padding:.5em}.gen-header .title{font-size:10.5pt}}.gen-size-row{flex-wrap:wrap;align-items:flex-end;gap:.6em 1.2em;margin-bottom:.4em;display:flex}.gen-size-group{flex-direction:column;gap:.25em;display:flex}.gen-size-dash{align-self:flex-end;padding-bottom:.3em}.gen-size-field small{opacity:.75}.gen-map-cols{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:0 1.6em;display:grid}.gen-map-cols .gen-shape-slider{max-width:none}.gen-options-grid{grid-template-columns:repeat(auto-fill,minmax(17em,1fr));align-items:start;gap:.2em 1.2em;display:grid}.gen-map-cols .gen-help{text-align:left}.gen-options-grid .gen-help{grid-column:1/-1;margin:0 0 .3em}@media (width<=640px){.gen-map-cols{grid-template-columns:1fr}}.gen-options-grid .gen-choice,.gen-options-grid .toggle-switch{text-align:left}.gen-section>.toggle-switch{width:fit-content;display:flex}@media (width<=640px){.gen-size-dash{display:none}}.gen-expansion-group+.gen-expansion-group{margin-top:.6em}.gen-group-label{opacity:.7;text-transform:uppercase;letter-spacing:.04em;margin:.5em 0 .25em;font-size:.8em;font-weight:600}.library-panel{max-width:1100px}.library-controls{background:#f2f2f2;border-bottom:2px solid #000;flex-wrap:wrap;align-items:center;gap:.5em .8em;padding:.6em 1em;display:flex}.library-search{flex:14em;min-width:10em}.library-count{margin-left:auto;font-weight:700}.library-grid{grid-template-columns:repeat(auto-fill,minmax(16em,1fr));gap:.8em;margin:0;padding:0;list-style:none;display:grid}.library-card,.library-card *{text-align:left}.library-card{box-sizing:border-box;background:#fff;border:2px solid #000;flex-direction:column;gap:.5em;min-width:0;padding:.6em;display:flex}.library-card-thumb{background:#eee;justify-content:center;align-items:center;min-height:150px;max-height:220px;display:flex}.library-card-thumb .gen-thumb-btn{grid-area:auto;max-height:220px}.library-card-thumb .gen-thumb{object-fit:contain;width:auto;height:auto;max-height:220px}.library-card-main{flex-direction:column;flex:1;gap:.3em;min-width:0;display:flex}.library-card-badges{flex-wrap:wrap;gap:.3em 0;display:flex}.library-card-title{font-weight:700}.library-card-meta{color:#555;font-size:9pt}.library-card-intro{-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;flex:1;margin:0;font-size:9pt;display:-webkit-box;overflow:hidden}.library-add{box-sizing:border-box;align-self:flex-end;max-width:100%}.page{background-image:var(--theme-page-background-image,url(../images/bio.svg), url(../images/dust_page.jpg));background-size:cover;background-position:var(--theme-page-background-position,top -100px left -150px, center center);background-repeat:no-repeat;margin:0 auto .5cm;display:block;overflow:hidden;box-shadow:0 0 .5cm #00000080}.page[data-page-size=A4]{page:a4-page;width:21cm;height:29.7cm;position:relative}.page[data-page-size=Zombicide]{page:zombicide-page;width:23.09cm;height:27.94cm;position:relative}.page.stain-add-mode{cursor:crosshair}.page main{padding:var(--theme-page-margin-top,120px) var(--theme-page-margin-right,90px) var(--theme-page-margin-bottom,40px) var(--theme-page-margin-left,60px);font-family:var(--theme-font-primary,Interstate, Arial, Helvetica, sans-serif);z-index:3;pointer-events:none;border:none;outline:none;flex-direction:column;font-weight:300;display:flex;position:relative}.page.ribbon-left main{padding-left:var(--theme-page-margin-right,90px);padding-right:var(--theme-page-margin-left,60px)}.map-diagram.clickable .placed-tile,.map-diagram.clickable .placed-token,.map-diagram.clickable .layout-handle,.page main .map-diagram-placeholder{pointer-events:auto}.page main .token-legend,.page main .tile-diagram{pointer-events:auto;position:relative}.page main .tile-diagram{z-index:2}.mission-columns{display:flex}.page .column{overflow-wrap:anywhere;flex:50%;min-width:0;padding:10px;position:relative}.mission-map-section{padding:10px}.mission-map-section.beside{overflow-wrap:normal;padding-left:0;padding-right:0}.flow-block{display:flow-root}.flow-block.flow-cont .title{display:none}.flow-block.flow-cont .rule,.flow-block.flow-cont .mission-description{margin-top:0}.flow-block .rules .rule{margin:10px 0 0}.flow-block.flow-cont .rules .rule{margin-top:0}.flow-block.flow-cont li{list-style:none}.flow-measure{visibility:hidden;pointer-events:none;z-index:-1;width:100%;position:absolute;top:0;left:0}.text-cont-header{color:var(--theme-color-heading,#77787b);text-transform:uppercase;font-style:italic}.page .features{font-variation-settings:"wght" 900;margin:10px 0;font-weight:700}.page .features.difficulty-easy{color:#4590b0}.page .features.difficulty-medium{color:#f5821f}.page .features.difficulty-hard{color:#ed1c24}.text-symbol{vertical-align:-.25em;-webkit-print-color-adjust:exact;print-color-adjust:exact;width:1.25em;height:1.25em;display:inline-block}.text-symbol--image{width:calc(1.25em * var(--aspect,1))}.text-symbol>img,.text-symbol>svg{width:100%;height:100%;display:block}.page .mission-description{font-size:8.5pt;font-family:var(--theme-font-description,GorriSans);border:var(--theme-color-description-border,#be1e2d) solid;white-space:pre-wrap;border-width:0 0 0 2px;margin:10px 0;padding:0 10px}.page .required-materials{font-weight:700}.material-needed-list{text-align:left;margin:2px 0 10px}.material-needed-list strong{font-weight:700}.page h1{color:var(--theme-color-heading,#77787b);font-size:16pt;font-family:var(--theme-font-primary,Interstate);text-transform:uppercase;text-align:left;margin:0;font-style:italic;font-weight:900;font-stretch:75%}.page h2{font-family:var(--theme-font-primary,Interstate, Arial, Helvetica, sans-serif);text-transform:uppercase;margin:1em 0 0 1em;font-size:11pt;font-weight:800;list-style:none}.page h2:before{content:"-";color:var(--theme-color-accent,#cd3e20);width:1em;margin-left:-1em;font-family:WC_Rhesus_B_Bta;font-weight:700;display:inline-block}.page ul,.page ol{margin:0;padding:0 0 0 1.5em}.tile-diagram{--tile-pitch:calc(26pt + 2px);width:calc(var(--diagram-w) * var(--tile-pitch));height:calc(var(--diagram-h) * var(--tile-pitch));-webkit-user-select:none;user-select:none;margin:10px auto;position:relative}.tile{font-size:10pt;font-family:var(--theme-font-primary,Interstate, Arial, Helvetica, sans-serif);color:#000;width:26pt;height:26pt;left:calc(var(--chip-x) * var(--tile-pitch));top:calc(var(--chip-y) * var(--tile-pitch));background:#d1d5d9;justify-content:center;align-items:center;margin:1px;font-weight:900;display:flex;position:absolute}.tile-diagram-free{z-index:5;pointer-events:auto;position:absolute}.tile-diagram-free .tile-diagram{margin:0;position:relative}.map-and-legend-free{z-index:4;pointer-events:none;position:absolute}.map-and-legend-free .map-and-legend{margin:0}.map-and-legend-free .token-legend,.map-and-legend-free .tile-diagram{pointer-events:auto;position:relative}.map-and-legend-free .tile-diagram{z-index:2}.map-and-legend-free .map-diagram-placeholder,.map-and-legend-free .layout-handle{pointer-events:auto}.map-and-legend-free{font-family:var(--theme-font-primary,Interstate, Arial, Helvetica, sans-serif);font-weight:300}.map-diagram-inline-tiles{pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute}.map-diagram-inline-tiles .tile-diagram{margin:0}.side-strip{background:var(--theme-side-strip-image,url(../images/side_strip.svg)) no-repeat;background-size:100% 100%;width:46pt;height:100%;position:absolute;top:-100px;right:16pt}.side-strip-left{left:16pt;right:auto}.side-strip .page-number{text-align:center;color:#000;width:100%;font-family:var(--theme-font-primary,Interstate, Arial, Helvetica, sans-serif);z-index:2;white-space:nowrap;margin-top:6pt;font-size:29pt;font-weight:900;font-stretch:75%;line-height:1;position:absolute;top:100%;left:0}.side-strip .strip-title{white-space:nowrap;transform-origin:0%;align-items:center;gap:.3em;line-height:1;display:flex;position:absolute;bottom:60px;left:50%;transform:rotate(-90deg)}.stain{font-family:WC_Rhesus_B_Bta}.side-strip .bullet{color:var(--theme-color-accent,#cd3e20);margin:10px;font-size:16pt;line-height:1em;position:relative;top:2px}.background-stain{z-index:1;color:#cd3e20;-webkit-user-select:none;user-select:none;cursor:pointer;position:absolute}.placed-artwork{z-index:1;-webkit-user-select:none;user-select:none;cursor:pointer;position:absolute}.doc-type{font-variation-settings:"wght" 900;font-size:28pt;position:relative;top:5px}.doc-edition{font-variation-settings:"wght" 900;font-size:18pt;position:relative;top:2.4px}.map-diagram{text-align:center;z-index:1;position:relative}.map-diagram.clickable{cursor:pointer}.map-diagram.clickable:hover .map-diagram-scale{outline-offset:2px;outline:2px dashed #4590b0}.map-diagram-scale-empty{justify-content:center;align-items:center;display:flex}.map-diagram-placeholder{box-sizing:border-box;cursor:pointer;color:#000;text-align:center;text-transform:uppercase;letter-spacing:.02em;background:#ffcb05;border:3px solid #000;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:150px;max-width:100%;max-height:100%;padding:10px 14px;font-family:Interstate,Arial,Helvetica,sans-serif;font-size:8.5pt;font-weight:700;transition:transform .12s,box-shadow .12s,background .12s;display:flex;box-shadow:-4px 4px #000c}.map-diagram-placeholder-icon{font-family:Arial,Helvetica,sans-serif;font-size:22pt;font-weight:700;line-height:1}.map-diagram-placeholder:hover{background:#ffd83d;transform:translate(2px,-2px);box-shadow:-6px 6px #000c}.map-diagram-placeholder:active{transform:translate(-4px,4px);box-shadow:0 0 #000c}.map-diagram img{max-width:100%}.map-diagram .map-diagram-scale{margin:0 auto;position:relative}.map-diagram .map-diagram-canvas{box-sizing:content-box;will-change:transform;position:relative}.map-row{justify-content:center;align-items:center;gap:10px;display:flex}.map-row .tile-diagram{margin:0}.map-diagram .placed-tile,.map-diagram .placed-token{position:absolute}.map-diagram-outline{pointer-events:none;position:absolute;top:0;left:0;overflow:visible}.map-diagram-outline line{stroke:#000;stroke-width:1.5px;stroke-linecap:square}.map-diagram .placed-tile img,.map-diagram .placed-token img{max-width:none;display:block}.map-and-legend{z-index:1;align-items:flex-start;gap:10px;width:fit-content;margin:10px auto;display:flex;position:relative}.map-and-legend.pos-right{flex-direction:row}.map-and-legend.pos-left{flex-direction:row-reverse}.map-and-legend.pos-bottom{flex-direction:column;align-items:flex-start}.map-and-legend.pos-top{flex-direction:column-reverse;align-items:flex-start}.token-legend{box-sizing:border-box;background:#fff;border:2px solid #000;align-items:stretch;width:fit-content;display:flex}.token-legend.pos-right{flex-direction:row}.token-legend.pos-left{flex-direction:row-reverse}.token-legend.pos-bottom{flex-direction:column}.token-legend.pos-top{flex-direction:column-reverse}.token-legend-strip{--legend-triangle-size:14px;--legend-triangle-gap:8px;--legend-triangle-edge-gap:8px;background-color:#000;flex:none;position:relative;overflow:hidden}.token-legend.pos-right .token-legend-strip,.token-legend.pos-left .token-legend-strip{width:calc(var(--legend-triangle-size) + 2 * var(--legend-triangle-edge-gap));align-self:stretch}.token-legend.pos-top .token-legend-strip,.token-legend.pos-bottom .token-legend-strip{height:calc(var(--legend-triangle-size) + 2 * var(--legend-triangle-edge-gap));align-self:stretch}.token-legend-triangles{padding:var(--legend-triangle-edge-gap);place-content:flex-start space-evenly;gap:var(--legend-triangle-edge-gap) var(--legend-triangle-gap);flex-wrap:wrap;display:flex;position:absolute;inset:0;overflow:hidden}.token-legend.pos-right .token-legend-triangles,.token-legend.pos-left .token-legend-triangles{flex-direction:column}.token-legend-triangle{fill:#ffcb05;width:calc(var(--legend-triangle-size) * 28 / 19);height:var(--legend-triangle-size);flex:none}.token-legend.pos-right .token-legend-triangle,.token-legend.pos-left .token-legend-triangle{width:var(--legend-triangle-size);height:calc(var(--legend-triangle-size) * 28 / 19)}.token-legend-grid{grid-auto-rows:min-content;gap:2px 5px;padding:4px;display:grid}.token-legend-item{flex-direction:column;align-items:center;width:70px;display:flex}.token-legend-icon-row{justify-content:center;align-items:center;gap:3px;height:32px;display:flex}.token-legend-icon-row img{object-fit:contain;width:28px;height:28px}.token-legend-count{font-variation-settings:"wght" 900;color:#000;font-family:Overpass;font-size:9pt;font-weight:900}.token-legend-label{font-variation-settings:"wght" 900;color:#000;text-align:center;text-transform:capitalize;overflow-wrap:break-word;max-width:100%;margin-top:2px;font-family:Overpass;font-size:9pt;font-weight:900;line-height:1.05}.token-legend.sized{--legend-item-scale:1;position:relative}.token-legend.sized .token-legend-grid{box-sizing:border-box;flex:1 1 0;place-content:space-evenly;gap:3px;min-width:0;min-height:0;overflow:hidden}.token-legend.sized .token-legend-item{width:calc(70px * var(--legend-item-scale))}.token-legend.sized .token-legend-icon-row{height:calc(32px * var(--legend-item-scale));gap:calc(3px * var(--legend-item-scale))}.token-legend.sized .token-legend-icon-row img{width:calc(28px * var(--legend-item-scale));height:calc(28px * var(--legend-item-scale))}.token-legend.sized .token-legend-count,.token-legend.sized .token-legend-label{font-size:calc(9pt * var(--legend-item-scale))}.token-legend.sized .token-legend-label{margin-top:calc(2px * var(--legend-item-scale));overflow-wrap:normal;word-break:normal;-webkit-hyphens:auto;hyphens:auto}.token-legend.sized .token-legend-sector-chip{width:calc(64px * var(--legend-item-scale));height:calc(28px * var(--legend-item-scale))}.token-legend.sized .token-legend-sector-chip-name{font-size:calc(10px * var(--legend-item-scale))}.token-legend-probe{--legend-item-scale:1;visibility:hidden;pointer-events:none;width:0;height:0;display:block;position:absolute;top:0;left:0;overflow:hidden}.token-legend-probe .token-legend-item{width:70px}.token-legend-free{z-index:4;pointer-events:auto;font-family:var(--theme-font-primary,Interstate, Arial, Helvetica, sans-serif);font-weight:300;position:absolute}.token-legend-free .token-legend{pointer-events:auto;margin:0;position:relative}.rules .rule{margin:10px 0}.rules .rule .title{font-weight:700}.page.cover-page{padding:0}.cover-illustration{position:absolute;inset:0}.cover-illustration img{object-fit:cover;width:100%;height:100%;display:block}.cover-illustration-placeholder{text-align:center;color:#888;background:repeating-linear-gradient(45deg,#eee 0 20px,#e2e2e2 20px 40px);justify-content:center;align-items:center;padding:3em;font-size:12pt;font-style:italic;display:flex;position:absolute;inset:0}.cover-title-block{z-index:2;text-align:center;cursor:move;-webkit-user-select:none;user-select:none;width:88%;position:absolute;top:7%;left:50%;transform:translate(-50%)}.page .cover-title{font-family:var(--theme-font-title,Crackhouse);font-variation-settings:"wght" 900;text-transform:uppercase;color:#fff;-webkit-text-stroke:3px #000;paint-order:stroke fill;text-shadow:4px 4px #000000d9,0 8px 16px #00000080;letter-spacing:.01em;overflow-wrap:break-word;margin:0;font-size:64pt;font-style:italic;line-height:1.05;position:relative}.cover-footer{z-index:2;position:absolute;bottom:0;left:0;right:0}.cover-hazard-stripe{background:var(--theme-cover-warning-image,url(../images/cover_warning_strip.svg)) no-repeat center;clip-path:polygon(0% 35%,100% 0%,100% 100%,0% 100%);background-size:125%;height:150px;position:relative}.cover-caption{font-variation-settings:"wght" 900;text-transform:uppercase;color:#000;white-space:nowrap;background:#fff;border:3px solid #000;padding:6px 20px;font-family:Overpass;font-size:11pt;position:absolute;bottom:35px;left:50%;transform:translate(-50%)rotate(-2deg);box-shadow:-5px 5px #000000d9}@media print{@page{margin:0}@page a4-page{size:21cm 29.7cm;margin:0}@page zombicide-page{size:23.09cm 27.94cm;margin:0}body{margin:0}.mission-page-row{margin-bottom:0!important}.page{box-shadow:none;break-inside:avoid;page-break-inside:avoid;break-after:page;page-break-after:always;margin:0}.booklet-pages>:last-child .page{break-after:auto;page-break-after:auto}.app-shell,.app-main{height:auto!important;padding:0!important;overflow:visible!important}.app-sidebar,.modal-overlay,.no-print{display:none!important}}.map-sector-overlay{pointer-events:none;position:absolute;top:0;left:0;overflow:visible}.map-sector-label{letter-spacing:.5px;fill:#fff;stroke:#000;stroke-width:3px;stroke-linejoin:round;paint-order:stroke;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:Interstate,Arial,Helvetica,sans-serif;font-size:16px;font-weight:900;font-stretch:75%}.token-legend-sector-chip{width:64px;height:28px;display:block;position:relative}.token-legend-sector-chip svg{position:absolute;inset:0;overflow:hidden}.token-legend-sector-chip-name{text-align:center;color:#fff;text-shadow:0 0 2px #000;justify-content:center;align-items:center;padding:0 5px;font-family:Interstate,Arial,Helvetica,sans-serif;font-size:10px;font-weight:900;font-stretch:75%;line-height:1;display:flex;position:absolute;inset:0;overflow:hidden}.map-page-header{box-sizing:border-box;align-items:center;height:28px;padding:0 10px;font-size:13pt;font-weight:700;line-height:1;display:flex}.map-caption{font-weight:400}.map-caption-inline{box-sizing:border-box;align-items:center;height:18px;font-size:10pt;font-weight:700;line-height:1;display:flex}.map-caption-float{box-sizing:border-box;white-space:nowrap;text-align:left;align-items:center;font-weight:700;line-height:1;display:flex;position:absolute;bottom:calc(100% + 4px);left:0}.map-and-legend.caption-below .map-caption-float{top:calc(100% + 4px);bottom:auto}.map-caption-float-inline{height:18px;font-size:10pt}.map-caption-float-page{height:28px;font-size:13pt}
