.underworld-shell .uw-workspace.uw-workspace-paint{--paint-fit-room-height: calc( var(--uw-visible-height, 100dvh) - var(--uw-feedback-header-height, 66px) - env(safe-area-inset-bottom, 0px) );min-width:0;max-width:1600px;padding:12px max(12px,env(safe-area-inset-right)) 24px max(12px,env(safe-area-inset-left));scroll-margin-top:calc(var(--uw-feedback-header-height, 66px) + 12px)}.underworld-shell .uw-workspace.uw-workspace-paint .uw-workspace-heading{margin:4px 0 12px}.underworld-shell .uw-workspace.uw-workspace-paint .uw-workspace-heading h1{margin:0;font-size:clamp(30px,4vw,40px);line-height:1.05}.underworld-shell .uw-workspace.uw-workspace-paint .uw-roster{gap:12px;margin:0 0 12px;min-width:0}.underworld-shell .uw-workspace.uw-workspace-paint .uw-roster>div{min-width:0;padding-block:6px}.underworld-shell .uw-workspace.uw-workspace-paint .uw-roster>div button{flex-basis:54px;min-width:54px;min-height:44px}.underworld-shell .uw-workspace.uw-workspace-paint .uw-roster canvas{width:44px;height:44px}.underworld-shell .uw-workspace.uw-workspace-paint .uw-roster button span{padding:3px 0;font-size:12px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-studio{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;min-width:0}.underworld-shell .uw-workspace.uw-workspace-paint .paint-start-bar{gap:8px 12px;padding:10px 12px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-start-bar p{margin-top:3px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-upload{min-height:44px;padding:8px 12px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-editor{min-width:0;padding:10px;scroll-margin-top:calc(var(--uw-feedback-header-height, 66px) + 8px)}.underworld-shell .uw-workspace.uw-workspace-paint .paint-canvas-top{gap:6px;margin-bottom:8px;font-size:13px;line-height:1.35}.underworld-shell .uw-workspace.uw-workspace-paint .paint-canvas-top>div{flex-wrap:wrap}.underworld-shell .uw-workspace.uw-workspace-paint .paint-editor .paint-tools{position:sticky;top:calc(var(--uw-feedback-header-height, 66px) + 6px);z-index:3;display:grid;grid-template-columns:repeat(5,minmax(44px,1fr));gap:4px;margin-bottom:8px;padding:4px 0;background:#0b110c}.underworld-shell .uw-workspace.uw-workspace-paint .paint-tools button{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;height:auto;padding:7px 3px;font-size:13px;line-height:1.3}.underworld-shell .uw-workspace.uw-workspace-paint .paint-tools button svg{width:18px;height:18px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-canvas-viewport{width:min(100%,600px);max-width:100%;height:auto;max-height:none;aspect-ratio:1;margin-inline:auto;overflow:auto;scroll-padding:8px;scrollbar-gutter:stable}.underworld-shell .uw-workspace.uw-workspace-paint .paint-zoom-controls{flex-wrap:wrap;gap:6px;margin-top:8px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-zoom-controls span{flex:1 1 100px;min-width:0;font-size:13px;line-height:1.35}.underworld-shell .uw-workspace.uw-workspace-paint .paint-caption{margin-top:8px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-control-panel{position:static;top:auto;min-width:0;padding:12px;scroll-padding:12px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-brush-size{margin-block:8px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-color-name{margin-block:10px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-cost{margin-bottom:12px;padding-top:10px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-palette-expanded{max-height:min(34dvh,240px);overflow-y:auto;padding:5px;scroll-padding:5px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-control-panel>.uw-action{min-height:48px;scroll-margin-block:12px}@media(max-width:999px)and (display-mode:standalone),(max-width:999px)and (display-mode:fullscreen){.underworld-shell .uw-workspace.uw-workspace-paint .paint-editor .paint-tools{top:6px}}@media(max-width:999px){html.uw-installed .underworld-shell .uw-workspace.uw-workspace-paint .paint-editor .paint-tools{top:6px}}@media(min-width:1000px)and (min-height:720px){.underworld-shell .uw-workspace.uw-workspace-paint{--paint-fit-room-height: calc( var(--uw-visible-height, 100dvh) - var(--uw-feedback-header-height, 83px) - env(safe-area-inset-bottom, 0px) );width:100%;padding:12px 20px 24px}.underworld-shell .uw-workspace.uw-workspace-paint .uw-roster>div{flex:1 1 auto}.underworld-shell .uw-workspace.uw-workspace-paint .paint-studio:not(:has(.paint-draft-conflict)){grid-template-columns:minmax(0,1fr) minmax(300px,360px);grid-template-rows:auto minmax(0,1fr);align-items:stretch;height:clamp(400px,calc(var(--paint-fit-room-height) - 176px),920px)}.underworld-shell .uw-workspace.uw-workspace-paint .paint-studio:not(:has(.paint-draft-conflict))>.paint-editor{display:grid;grid-template-rows:44px 44px minmax(0,1fr) 44px 20px;align-content:start;gap:8px;min-height:0;height:100%}.underworld-shell .uw-workspace.uw-workspace-paint .paint-editor .paint-canvas-top{flex-wrap:nowrap;margin:0}.underworld-shell .uw-workspace.uw-workspace-paint .paint-editor .paint-tools{position:static;margin:0;padding:0}.underworld-shell .uw-workspace.uw-workspace-paint .paint-editor .paint-tools button{flex-wrap:nowrap}.underworld-shell .uw-workspace.uw-workspace-paint .paint-editor .paint-canvas-viewport{align-self:center;justify-self:center;width:min(100%,max(140px,calc(var(--paint-fit-room-height) - 450px)));margin:0}.underworld-shell .uw-workspace.uw-workspace-paint .paint-editor :is(.paint-zoom-controls,.paint-caption){margin:0}.underworld-shell .uw-workspace.uw-workspace-paint .paint-studio:not(:has(.paint-draft-conflict))>.paint-control-panel{min-height:0;height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#506739 #11180f;scrollbar-gutter:stable}.underworld-shell .uw-workspace.uw-workspace-paint .paint-control-panel .paint-color-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:8px;margin-bottom:8px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-color-filters>.daemon-select{display:grid;gap:6px;align-items:stretch}.underworld-shell .uw-workspace.uw-workspace-paint .paint-color-filters .daemon-select-label{font-size:14px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-control-panel .paint-palette-expanded{max-height:112px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-control-panel>.uw-action{position:sticky;bottom:0;z-index:2;box-shadow:0 -10px 16px #11180f}@supports (container-type: size){.underworld-shell .uw-workspace.uw-workspace-paint .paint-studio:not(:has(.paint-draft-conflict))>:is(.paint-editor,.paint-control-panel){container-type:size}.underworld-shell .uw-workspace.uw-workspace-paint .paint-editor .paint-canvas-viewport{width:min(100%,max(1px,calc(100cqh - 184px)))}.underworld-shell .uw-workspace.uw-workspace-paint .paint-control-panel .paint-palette-expanded{max-height:clamp(104px,calc(100cqh - 440px),192px)}}}@media(min-width:700px)and (max-height:719px){.underworld-shell .uw-workspace.uw-workspace-paint .paint-studio{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:10px}.underworld-shell .uw-workspace.uw-workspace-paint .paint-canvas-viewport{width:min(100%,max(140px,calc(var(--paint-fit-room-height) - 170px)))}.underworld-shell .uw-workspace.uw-workspace-paint .paint-control-panel{max-height:max(280px,calc(var(--paint-fit-room-height) - 24px));overflow-y:auto;overscroll-behavior:contain}.underworld-shell .uw-workspace.uw-workspace-paint .paint-palette-expanded{max-height:112px}}@media(prefers-reduced-motion:reduce){.underworld-shell .uw-workspace.uw-workspace-paint,.underworld-shell .uw-workspace.uw-workspace-paint :is(.paint-editor,.paint-control-panel,.paint-palette-expanded){scroll-behavior:auto}}
