#studio.mp-painter .mp-masks{display:grid;grid-template-columns:repeat(3,1fr);gap:.3em}#studio.mp-painter .mp-masks button{position:relative;padding:0;height:4.4cqw;min-height:50px}#studio.mp-painter .mp-masks img{height:100%;width:100%;object-fit:contain;pointer-events:none}#studio.mp-painter .mp-masks small{position:absolute;bottom:0;right:5%;font-weight:bold;color:#ffe4a0}#studio.mp-painter button[aria-pressed=true]{border:2px solid #ffe3a0;box-shadow:0 0 5px #ffd86f}#studio.mp-painter .mp-brushes{display:grid;grid-template-columns:1fr 1fr;gap:.4em}#studio.mp-painter .mp-brushes b{font-size:1.7em;display:block;line-height:1.1}#studio.mp-painter .mp-sizes{display:flex;gap:.4em}#studio.mp-painter .mp-sizes button{flex:1;display:grid;place-items:center;height:2.6em}#studio.mp-painter .mp-sizes i{display:block;background:#fce0a1;border-radius:50%;pointer-events:none}#studio.mp-painter .st-save h3{font-size:1.6em}#studio.mp-painter .st-save>[data-act=finish]{font-size:1.6em;min-height:58px}#studio.mp-painter .st-tools{gap:.4em;top:22%;height:56%}#studio.mp-painter .st-save{height:41%}#studio.mp-painter .st-row{flex-wrap:nowrap}#studio.mp-painter .st-row button:first-child{flex:1}@media(max-width:700px),(max-height:480px){#studio.mp-painter .st-tools{top:auto;height:auto;display:flex}#studio.mp-painter .mp-masks{grid-template-columns:repeat(6,1fr)}#studio.mp-painter .mp-masks button{height:70px}#studio.mp-painter .st-save{height:auto}#studio.mp-painter .mp-brushes{grid-template-columns:1fr 1fr}#studio.mp-painter .st-save>[data-act=finish]{position:sticky;bottom:4px;z-index:2}}
#village-shop.vs-dloubek .vs-portrait{background-image:url('/assets/mask-painter-v2/dloubek.png')!important}#village-shop.vs-trade:not(.vs-dloubek) .vs-portrait{background-image:url('/assets/mask-painter-v2/bara.png')!important;background-position:65% 40%}
@media(max-width:700px),(max-height:480px){#studio.mp-painter .st-canvas-wrap{height:min(34dvh,280px);min-height:180px}#studio.mp-painter .mp-masks button{height:48px;min-height:44px}#studio.mp-painter .mp-brushes b{display:inline;font-size:1.4em;margin-right:5px}#studio.mp-painter .st-save>h3{display:none}#studio.mp-painter .st-tools{gap:5px}#studio.mp-painter .st-color{min-height:40px!important}#studio.mp-painter .mp-title{min-height:40px}#studio.mp-painter .mp-title h2{font-size:1.1em}#studio.mp-painter .mp-title button{font-size:12px}#studio.mp-painter .st-save>[data-act=finish]{font-size:1.4em}}
