select:not(.picker-card select){box-sizing:border-box;color:#d1d1d1;cursor:pointer;appearance:none;background-color:#252525;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-position:right 6px center;background-repeat:no-repeat;background-size:12px;border:1px solid #444;border-radius:4px;outline:none;width:min-content;height:24px;padding:0 24px 0 8px;font-size:12px;line-height:1}select:hover{background-color:#2a2a2a;border-color:#666}select:focus{border-color:#3d8bfd}select option{color:#d1d1d1;background-color:#252525}.switch{cursor:pointer;-webkit-user-select:none;user-select:none;background:#3c3c3c;border:1px solid #555;border-radius:4px;align-items:center;width:40px;height:24px;font-family:monospace;font-size:12px;display:flex;overflow:hidden}.switch .indicator{background:#a4a4a4;width:6px;height:24px}.switch>div:not(.indicator){text-align:center;width:100%}.switch:not(.on)>div:first-of-type,.switch.on>div:last-of-type{display:none}.tooltip-container{color:#fff;pointer-events:none;z-index:9999;opacity:0;background:#313131;border-radius:4px;width:max-content;max-width:250px;padding:8px 12px;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.4;transition:opacity .2s,transform .2s;position:fixed;top:0;left:0;transform:scale(.95);box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024}.tooltip-container.visible{opacity:1;transform:scale(1)}.tooltip-container .tooltip-title{margin-bottom:2px;font-weight:600;display:block}.tooltip-container .tooltip-desc{color:#ccc;font-size:12px;display:block}:root{--card:#111;--border:#262626;--input-bg:#0a0a0a;--text:#888;--accent:#fff;--track-bg:#1d1d1d}.current-color>div{border:2px solid var(--border);aspect-ratio:1;cursor:pointer;border-radius:6px;width:28px;position:relative}.current-color>.primary{z-index:2;bottom:-20px}.current-color>.secondary{left:8px}.picker-card.hidden{display:none}.picker-card{background:var(--card);border:1px solid var(--border);color:var(--text);border-radius:12px;gap:20px;padding:16px;display:flex;position:fixed;bottom:45px;left:45px}.picker-card>div:first-of-type{height:100%}.main-area{cursor:crosshair;border:1px solid var(--border);background-color:red;border-radius:4px;height:230px;position:relative;overflow:hidden}.sat-gradient{aspect-ratio:1.5;background:linear-gradient(90deg,#fff,#0000);height:100%}.val-gradient{background:linear-gradient(#0000,#000);width:100%;height:100%}.pointer{pointer-events:none;z-index:10;border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 3px #000}.picker-card>div:last-of-type{flex-direction:column;gap:12px;display:flex}.sliders{flex-direction:column;gap:8px;display:flex}.slider-row{align-items:center;gap:10px;display:flex}.slider-row span{color:#444;width:10px;font-size:10px;font-weight:900}.track-wrap{background:var(--track-bg);border:1px solid #1a1a1a;border-radius:5px;flex-grow:1;height:10px;position:relative}.picker-card input[type=range]{-webkit-appearance:none;cursor:pointer;z-index:5;background:0 0;outline:none;width:100%;height:100%;margin:0;position:absolute;top:0;left:0}.picker-card input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:2px solid #000;border-radius:50%;width:14px;height:14px}.grad{border-radius:4px;width:100%;height:100%;position:absolute;top:0;left:0}.h-grad{background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.checkerboard{background-image:linear-gradient(45deg,#222 25%,#0000 25%),linear-gradient(-45deg,#222 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#222 75%),linear-gradient(-45deg,#0000 75%,#222 75%);background-size:6px 6px;border-radius:5px}.controls-bottom{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding-bottom:8px;display:flex}.picker-card .preview{aspect-ratio:1;border:1px solid var(--border);border-radius:6px;flex-shrink:0;width:20px;position:relative;overflow:hidden}.preview-color{z-index:1;width:100%;height:100%;position:relative}.hex-input{background:var(--input-bg);border:1px solid var(--border);color:#fff;text-transform:uppercase;border-radius:6px;outline:none;flex-grow:1;padding-inline:8px;font-family:monospace;font-size:13px}.palette-section{flex-direction:column;gap:10px;display:flex}.palette-header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.palette-header span{color:#555;text-transform:uppercase;font-size:9px;font-weight:700}.palette-section select{color:#777;cursor:pointer;background:0 0;border:none;outline:none;font-size:10px}.grid{grid-template-columns:repeat(12,1fr);gap:4px;display:grid}.swatch{aspect-ratio:1;cursor:pointer;border:1px solid #ffffff08;border-radius:3px}*{-webkit-user-select:none;user-select:none;margin:0;padding:0;font-family:sans-serif}:root{--navbar-height:30px;--footer-height:15px;--main-content-height:calc(100vh - var(--navbar-height) - var(--footer-height));--background-secondary:#2a2a2a}body{background:#1f1f1f;overflow:hidden}.hidden{display:none}footer{background:var(--background-secondary);height:var(--footer-height)}nav{color:#fff;background-color:var(--background-secondary);height:var(--navbar-height);padding-inline:10px;display:flex}nav>div{width:33.3333%}nav>.menu{align-items:center;gap:10px;display:flex}nav>.menu>div{align-items:center;height:100%;display:flex}nav>.menu>div:hover>div{cursor:pointer;z-index:100;background:var(--background-secondary);border:1px solid #444;border-radius:5px;padding-block:5px;display:block;position:absolute;top:30px;transform:translate(-5px)}nav>.menu hr{background:#444;border:none;height:1px;margin-block:2px}nav>.menu>div>div>div,.layers-container>.add-options>div{padding-block:6px;padding-inline:10px}nav>.menu>div>div>div:hover,.layers-container>.add-options>div:hover{cursor:pointer;background:#0006}nav>.menu>div>div{display:none}.layers-container>.add-options{background:#444;border-radius:5px;padding-block:5px;position:absolute;bottom:45px;left:45px}.layers-container>.add-options input{opacity:0;cursor:pointer;width:100%;height:19px;position:absolute;transform:translate(-5px)}.tabs{justify-content:center;align-items:center;gap:10px;display:flex}.tabs>div{opacity:.6;cursor:pointer}.tabs>div.selected{opacity:1;border-bottom:2px solid #fff}.main{grid-template-columns:auto 1fr auto;display:grid}aside{height:var(--main-content-height);background:var(--background-secondary);overflow:auto}.main>aside:last-of-type{grid-template-rows:auto 1fr;min-width:300px;max-width:35vw;display:grid}.layers-container{grid-template-rows:auto 1fr auto;display:grid;position:relative;overflow:auto}main,main>*{width:100%;height:var(--main-content-height);border:0}.bg-shadow{z-index:1001;background:#000c;width:100vw;height:100vh;position:fixed;top:0;left:0}.modals{z-index:1002;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}:is(body:not(:has(.modal:not(.hidden))) .bg-shadow,body:not(:has(.modal:not(.hidden))) .modals){max-width:0;max-height:0}.modal{background:#191919;border-radius:15px;width:60vw;height:80vh;position:relative;overflow:auto}.modal img.close{cursor:pointer;position:absolute;top:10px;right:10px}.modal .tabs{color:#fff;justify-content:left;padding-block:10px;padding-inline:20px}.from-file{color:#768390;background-color:#1f1f1f;border:2px dashed #272727;border-radius:10px;margin:10px 20px 20px;padding:20px;font-size:14.5px;position:relative;overflow:hidden}.from-file .upload-link{color:#cdcdcd;cursor:pointer;text-decoration:underline}.from-file input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;top:0;left:0}.loaded-preview{gap:20px;margin-inline:20px;display:flex}.loaded-preview>*{aspect-ratio:1;width:50%;image-rendering:pixelated}.modal.new-mask .loaded-preview img{display:none}.modal .actions{justify-content:end;align-items:center;gap:8px;margin:20px;display:flex}.modal .actions button{cursor:pointer;padding:10px}.modal .actions button.close{color:#fff;background:0 0;border:none}.modal.new-project{width:fit-content;height:fit-content}.modal.new-project:has(.tabs>div:first-of-type:not(.selected))>div.from-file{display:none}.modal.new-project:has(.tabs>div:last-of-type:not(.selected))>div:last-of-type{display:none}.actions.skin-type{justify-content:center}main{background-color:var(--background-secondary);gap:2px;display:flex}main>*{border-radius:10px;width:100%;position:relative;overflow:hidden}@media screen and (width<=800px){main{flex-direction:column}}body:has(.render-view-select>.skin-value.selected) ice-controlled-viewport.preview{display:none}.modal.new-mask:not(.hidden){grid-template-rows:auto 1fr auto;display:grid}.default-mask-list{color:#fff;margin-inline:20px;overflow:auto}.default-mask-list .content{flex-wrap:wrap;gap:15px;display:flex}.default-mask-list label input{display:none}.default-mask-list label img{width:180px;image-rendering:pixelated}.default-mask-list label{color:#fff9;cursor:pointer;border:1px solid #555;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:10px;display:flex}.default-mask-list label:hover{border-color:#666}.default-mask-list label:has(input:checked){color:#fff;border-color:#4a90e2}.default-mask-list details{width:calc(100% - 20px)}.default-mask-list summary{cursor:pointer;justify-content:space-between;align-items:center;padding-block:20px;font-size:18px;list-style:none;display:flex}.default-mask-list summary::-webkit-details-marker{display:none}.default-mask-list summary:after{content:"▸";transform:rotate(-90deg)}.default-mask-list details[open] summary:after{transform:rotate(90deg)}.modal.new-mask:has(.tabs div:last-of-type.selected) .default-mask-list{display:none}.modal.new-mask:has(.tabs div:first-of-type.selected) .mask-from-file{display:none}body:has(.render-view-select .mask-value:not(.selected)) .mask-info{display:none}.modal.new-layer:not(.hidden){grid-template-rows:1fr auto;padding-top:41px;display:grid}.modal.new-layer .skin-type-select{color:#fff;margin-inline:20px;margin-top:10px}.toggle-preview{cursor:pointer;background:0 0;border:none;border-radius:2px;min-width:14px;max-width:14px}.toggle-preview img{width:100%;transform:rotate(90deg)scale(1.3)}body:has(.render-view-select .skin-value.selected) .toggle-preview{display:none}main.preview-hidden .toggle-preview img{transform:rotate(-90deg)scale(1.3)}main.preview-hidden>ice-controlled-viewport.preview{display:none!important}.toggle-preview:hover{background:#ffffff1a}body.slim-mode .menu .change-to-slim,body.classic-mode .menu .change-to-classic{display:none}::-webkit-scrollbar{width:4px;height:8px}::-webkit-scrollbar-track{background:#1a1a1a;border-radius:4px}::-webkit-scrollbar-thumb{background:#444;border-radius:4px}aside:last-of-type{color:#fff;background-color:var(--background-secondary);grid-template-rows:auto 1fr;grid-template-columns:100%;display:grid}aside:last-of-type>div{padding:10px}.layers-panel{-webkit-user-select:none;user-select:none;flex-direction:column;height:100%;display:flex}.layers-list{flex-grow:1;margin-block:10px;padding:5px;overflow-y:auto}.layer{cursor:grab;background-color:#3c3c3c;border:1px solid #555;border-radius:3px;margin-bottom:5px;padding:5px}.layer.selected{background-color:#444;border-color:#4a90e2}.layer-header{align-items:center;gap:8px;margin-bottom:5px;display:flex}.visibility,.mask-join,.auto-outer{cursor:pointer;background:0 0;border:none;align-items:center;display:flex}.layer.hidden-layer{opacity:.6}.layer.join-full .mask-join img:first-of-type,.layer:not(.join-full) .mask-join img:last-of-type,.layer.hidden-layer .visibility img:first-of-type,.layer:not(.hidden-layer) .visibility img:last-of-type,.mask.auto-outer-mask .auto-outer img:first-of-type,.mask:not(.auto-outer-mask) .auto-outer img:last-of-type{display:none}.thumbnail{background-color:#777;border:1px solid #999;flex-shrink:0;width:30px;height:30px}.layer-name,.mask-name{text-overflow:ellipsis;text-wrap:nowrap;flex-grow:1;font-size:14px;overflow:hidden}.masks-container summary{cursor:pointer;margin-top:5px;padding:2px;list-style:none}.masks-container summary::-webkit-details-marker{display:none}.masks-container summary:before{content:"▶ ";font-size:.8em}.masks-container[open]>summary:before{content:"▼ "}.mask-list,.auto-mask{border-left:1px dashed #666;margin-top:5px;padding-left:20px}.auto-mask>div{background:#4f4f4f;border-radius:3px;justify-content:space-between;align-items:center;padding:5px;font-size:14px;display:flex}.auto-mask>div>div{align-items:center;gap:8px;display:flex}.layer.auto-mask-ao .auto-mask .auto-outer img:first-of-type,.layer:not(.auto-mask-ao) .auto-mask .auto-outer img:last-of-type{display:none}.mask{cursor:grab;cursor:pointer;border-radius:2px;align-items:center;gap:8px;margin-bottom:3px;padding:3px;display:flex}.mask.selected{background-color:#333}.mask .thumbnail{background-color:#555;border-color:#777;width:25px;height:25px}.add-mask{color:#fff;cursor:pointer;background-color:#4f4f4f;border:1px solid #666;border-radius:3px;width:calc(100% - 20px);margin-top:5px;margin-left:20px;padding:2px 5px;font-size:.9em}.add-mask:hover{background-color:#606060}.dragging{opacity:.5}.drag-over-top{border-top:2px solid #4a90e2!important}.drag-over-bottom{border-bottom:2px solid #4a90e2!important}.drop-target{background-color:#333;border:2px dashed #4a90e2!important}.cut{opacity:.6;border-style:dashed}.action-row{justify-content:space-around;width:100%;display:flex}.action-row button{cursor:pointer;background-color:#444;border:1px solid #666;border-radius:3px;justify-content:center;width:30px;height:30px;padding:4px;display:flex}.action-row button:not(:disabled):hover{background-color:#555}.action-row button:disabled{opacity:.6;cursor:auto}.action-row .add-layer{display:flex}.action-row .add-layer button:first-of-type{border-radius:3px 0 0 3px}.action-row .add-layer button:last-of-type{border-left:0;border-radius:0 3px 3px 0;width:14px}aside:first-of-type{flex-direction:column;justify-content:space-between;display:flex}aside:first-of-type>div{padding-block:10px;padding-inline:5px}.tools,.tools-mask{flex-direction:column;gap:5px;display:flex}.tools div,.tools-mask div{cursor:pointer;border-radius:4px;padding:6px}.tools div.selected,.tools-mask div.selected,.brush-sizes>div.selected,.brush-shapes>div.selected{background-color:#0003}.tools div img,.tools-mask div img{color:#fff}.color-picker>input{color:#0000;border:none;border-radius:5px;width:40px;height:40px}.color-picker{z-index:1000;bottom:10px;left:2.5px;padding:0!important;position:absolute!important}body:has(.render-view-select>.mask-value:not(.selected)) aside>.tools-mask{display:none}body:has(.render-view-select>.mask-value.selected) aside>.tools{display:none}.brush-sizes,.brush-shapes{color:#d9d9d9;gap:3px;display:flex}.tools-options{flex-direction:column;gap:5px;font-size:14px;display:flex}.tools-options>div{justify-content:space-between;display:flex}.tools-options>div>div:first-of-type{align-items:center;display:flex}.brush-sizes>div,.brush-shapes>div{cursor:pointer;border-radius:4px;justify-content:center;align-items:center;padding:5px;display:flex}.brush-sizes img,.brush-shapes img{filter:invert(90%);width:19px;height:19px}.title-tools{background:#696969;border-radius:5px;padding-block:5px;padding-inline:10px;font-size:12px}body:not(body:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:first-child.non-eyedropper-selected),body:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:nth-child(2).non-eyedropper-selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:first-child.selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:nth-child(2).selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:nth-child(3).selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:nth-child(4).selected)) .pen-bucket-only{display:none}body:not(body:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:first-child.non-eyedropper-selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:first-child.selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:nth-child(2).selected),body:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:nth-child(3).non-eyedropper-selected),body:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:nth-child(4).non-eyedropper-selected)) .pen-eraser-shade-only{display:none}body:not(body:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:first-child.non-eyedropper-selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:first-child.selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:nth-child(2).selected),body:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:nth-child(3).non-eyedropper-selected)) .pen-eraser-only{display:none}body:not(body:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:first-child.non-eyedropper-selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:first-child.selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:nth-child(2).selected)) .pen-only{display:none}body:not(body:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:nth-child(2).non-eyedropper-selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:nth-child(3).selected),body:has(.render-view-select>.mask-value.selected):has(.tools-mask div:nth-child(4).selected)) .bucket-only{display:none}body:not(:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:nth-child(4).non-eyedropper-selected)) .shade-only{display:none}body:not(:has(.render-view-select>.mask-value:not(.selected)):has(.tools div:nth-child(3).non-eyedropper-selected)) .eraser-only{display:none}.info-box{color:#d1d5db;background-color:#1a253b;border:1px solid #3b82f6;border-radius:6px;padding:12px 15px;font-size:14px;line-height:1.5;box-shadow:0 4px 12px #0006}.context-menu{z-index:1000;color:#fff;background-color:#3c3c3c;border:1px solid #666;border-radius:4px;min-width:150px;padding:5px 0;font-size:14px;position:absolute;box-shadow:0 4px 8px #0000004d}.context-menu-item{cursor:pointer;padding:8px 15px}.context-menu-item:hover{background-color:#4a90e2}.context-menu-item.disabled{opacity:.5;cursor:not-allowed;background-color:#0000!important}.context-menu .separator{background-color:#555;height:1px;margin:5px 0}
