.mpjs {
  --js-amber: #ffd21a;
  --js-ink: #191813;
  --js-muted: #625f57;
  --js-border: #d9d7cf;
  margin: 0 auto;
  width: min(100%, 1510px);
  padding: 24px clamp(18px, 4vw, 64px) 52px;
  color: var(--js-ink);
  font-family: Arial, Helvetica, sans-serif;
}
.mpjs [hidden] {display:none!important}
.mpjs svg {width:18px;height:18px;flex:none}
.mpjs button, .mpjs input, .mpjs select {font:inherit;color:inherit}
.mpjs button {display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;cursor:pointer}
.mpjs button:focus-visible,.mpjs summary:focus-visible,.mpjs input:focus-visible,.mpjs select:focus-visible {outline:3px solid #887022;outline-offset:3px}
.mpjs button:disabled {opacity:.55;cursor:wait}
.mpjs .mpjs-back {font-size:.84rem;color:var(--js-muted);padding:5px 0;gap:3px;font-weight:650}
.mpjs-back svg{width:15px;height:15px}
.mpjs-title{display:flex;align-items:center;justify-content:space-between;margin:12px 0 21px}
.mpjs-title h1{margin:0;font-size:clamp(1.9rem,3.2vw,3.1rem);letter-spacing:-.06em;line-height:1.02;font-weight:900}
.mpjs-title p{color:var(--js-muted);font-size:1rem;margin:9px 0 0;line-height:1.4}
.mpjs-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(295px,.82fr);gap:clamp(14px,2.5vw,34px);align-items:start}
.mpjs-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 54% 39%,#fdfcf8 0%,#f5f3ec 50%,#eae7df 100%);border:1px solid #ddd9cf;border-radius:17px;min-height:490px;height:clamp(495px,58vh,680px)}
.mpjs-stage-head,.mpjs-stage-foot{position:absolute;left:clamp(12px,2vw,23px);right:clamp(12px,2vw,23px);display:flex;align-items:center;justify-content:space-between;gap:9px;z-index:2;pointer-events:none}
.mpjs-stage-head button,.mpjs-stage-foot button{pointer-events:auto}
.mpjs-stage-head{top:clamp(12px,2vw,23px)}
.mpjs-switch{display:inline-flex;max-width:100%;align-items:center;background:#fffdf9;border:1px solid #d6d2c8;padding:3px;border-radius:30px;box-shadow:0 1px 3px #3932270a}
.mpjs .mpjs-switch button{padding:8px 12px;min-height:33px;border-radius:25px;font-size:.81rem;font-weight:700;gap:6px;white-space:nowrap}
.mpjs .mpjs-switch button svg{height:16px;width:16px}
.mpjs .mpjs-switch button[aria-pressed="true"]{background:var(--js-ink);color:white}
.mpjs-demo{color:#635e54;font-size:.75rem;letter-spacing:.02em;font-weight:650;white-space:nowrap}
.mpjs-drawing{position:absolute;inset:42px 0 46px}
.mpjs-model,.mpjs-flat{position:absolute;inset:0;width:100%;height:100%}
.mpjs-model{display:block;touch-action:none;cursor:grab}
.mpjs-model:active{cursor:grabbing}
.mpjs-flat{display:flex;justify-content:center;align-items:center;padding:24px}
.mpjs-flat-frame{width:min(88%,650px);max-height:85%;background-color:#b7b4ab;background-image:linear-gradient(45deg,#c8c5bd 25%,transparent 25%),linear-gradient(-45deg,#c8c5bd 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c8c5bd 75%),linear-gradient(-45deg,transparent 75%,#c8c5bd 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;border:1px solid #706c62;box-shadow:0 12px 28px #332d1d15}
.mpjs-flat-frame.round{width:min(64%,280px);border-radius:50%;overflow:hidden}
.mpjs-flat-frame canvas{display:block;width:100%;height:100%;touch-action:none;cursor:move}
.mpjs-stage-foot{bottom:clamp(12px,2vw,23px)}
.mpjs-instruction{display:inline-flex;align-items:center;gap:7px;font-size:.8rem;color:#605c54;line-height:1.3}
.mpjs-instruction svg{width:19px;height:19px}
.mpjs-camera{pointer-events:auto;border:1px solid #d5d1c7;display:flex;align-items:center;border-radius:24px;background:#fffdf8;padding:2px}
.mpjs .mpjs-camera button{height:33px;width:34px;padding:7px;border-radius:50%}
.mpjs .mpjs-camera button:hover,.mpjs .mpjs-switch button:not([aria-pressed="true"]):hover{background:#eeece4}
.mpjs .mpjs-camera button:last-child{border-left:1px solid #e3ded4;border-radius:0 50% 50% 0}
.mpjs-panel{border:1px solid #dcd9d1;border-radius:17px;padding:clamp(18px,2vw,28px);background:white;box-shadow:0 5px 18px #2c251105}
.mpjs-panel h2{margin:0 0 21px;font-size:clamp(1.45rem,2vw,2rem);line-height:1.08;letter-spacing:-.045em;font-weight:850}
.mpjs-panel fieldset{border:0;min-width:0;margin:0;padding:0}
.mpjs-panel legend,.mpjs-element-select,.mpjs-options label,.mpjs-slider{font-size:.86rem;font-weight:750;line-height:1.35}
.mpjs-panel legend{margin:0 0 9px;padding:0}
.mpjs-faces{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mpjs .mpjs-faces button{flex-direction:column;gap:0;min-width:0;border-radius:9px;background:#faf9f5;border:1px solid var(--js-border);padding:3px 2px 9px;font-size:.81rem;font-weight:700;line-height:1.2}
.mpjs .mpjs-faces button[aria-pressed="true"]{background:#fff6ca;box-shadow:inset 0 0 0 1px #272319;border-color:#272319}
.mpjs-face-image{display:flex;height:32px;align-items:center;justify-content:center}
.mpjs-face-image canvas{height:28px;width:56px}
.mpjs-artwork{padding:14px 0 17px;margin-bottom:16px;border-bottom:1px solid #e8e5de}
.mpjs .mpjs-upload,.mpjs .mpjs-text,.mpjs .mpjs-save{width:100%;border-radius:8px;font-size:.9rem;font-weight:750;min-height:42px;padding:9px 10px}
.mpjs .mpjs-upload{color:#fff;background:#24221e;box-shadow:0 1px 0 #000;margin-bottom:7px}
.mpjs .mpjs-upload:hover,.mpjs .mpjs-upload.drag{background:#464135}
.mpjs .mpjs-text{background:#fff;border:1px solid #d3d0c8}
.mpjs .mpjs-text:hover,.mpjs .mpjs-item-actions button:hover{background:#f4f1e9}
.mpjs-swatches{display:flex;align-items:stretch;gap:6px;flex-wrap:wrap}
.mpjs .mpjs-swatches button{justify-content:flex-start;flex:1 1 auto;gap:5px;font-size:.77rem;font-weight:650;letter-spacing:-.02em;min-height:34px;padding:6px;border:1px solid var(--js-border);border-radius:6px;background:#fff}
.mpjs .mpjs-swatches button[aria-pressed="true"]{border-color:#2a2619;box-shadow:inset 0 0 0 1px #2a2619;background:#f8f6f0}
.mpjs-swatches i{flex:0 0 13px;width:13px;height:13px;display:block;border-radius:50%;border:1px solid #0002}
.mpjs-finish-matte{background:#b4ad9f}
.mpjs-finish-gloss{background:linear-gradient(137deg,#827d74 5%,#ddd9cf 35%,#fff 46%,#ada99e 66%,#827e75 100%)}
.mpjs-finish-holo{background:conic-gradient(from 25deg,#a9cdcc,#c0b4d6,#eee4a9,#a8d7bd,#a9cdcc)}
.mpjs-details{margin:14px 0 13px}
.mpjs-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;cursor:pointer;list-style:none;font-size:.8rem;font-weight:650;color:var(--js-muted)}
.mpjs-details summary::-webkit-details-marker{display:none}
.mpjs-details summary svg{width:15px;height:15px}
.mpjs-details[open] summary svg{transform:rotate(180deg)}
.mpjs-options{display:grid;gap:9px;padding:8px 0 4px}
.mpjs-options label,.mpjs-element-select{display:grid;gap:4px}
.mpjs .mpjs-options button{justify-content:flex-start;padding:3px 0;text-decoration:underline;text-underline-offset:3px;font-size:.79rem}
.mpjs .mpjs-options .mpjs-color-row{display:flex;justify-content:space-between;align-items:center}
.mpjs-extra:empty{display:none}
.mpjs input:not([type="file"],[type="range"],[type="color"]),.mpjs select{width:100%;border:1px solid #cbc7bd;border-radius:5px;padding:8px 9px;background:white;font-size:1rem;min-width:0}
.mpjs input[type="color"]{width:35px;height:35px;padding:3px;min-width:35px;background:white;border:1px solid #d4d1c8;border-radius:6px;cursor:pointer}
.mpjs .mpjs-save{border:1px solid #202017;background:var(--js-amber);color:#171710;min-height:43px;box-shadow:0 2px 0 #211f18}
.mpjs .mpjs-save:hover{background:#ffda3d}
.mpjs-status{font-size:.81rem;line-height:1.4;color:#444b35;margin-top:11px}
.mpjs-status:empty{display:none}
.mpjs-status.error{color:#873021}
.mpjs-elements:not(:empty){margin-top:12px}
.mpjs-object{border:1px solid #e5e1d7;background:#faf9f5;border-radius:7px;padding:11px}
.mpjs-itemhead,.mpjs-slider{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mpjs-itemhead{font-size:.8rem;margin-bottom:7px}
.mpjs .mpjs-itemhead button{padding:3px}
.mpjs-itemhead svg{width:16px;height:16px}
.mpjs-textfields,.mpjs-item-actions{display:flex;gap:6px}
.mpjs-slider{font-size:.78rem;margin:12px 0}
.mpjs-slider input[type="range"]{width:65%;height:18px;margin:0;accent-color:#302b23}
.mpjs .mpjs-item-actions button{border:1px solid #d8d4cb;border-radius:5px;padding:5px 7px;font-size:.75rem;background:#fff}
.mpjs-item-actions svg,.mpjs-transfer svg{width:14px;height:14px}
.mpjs .mpjs-transfer{font-size:.74rem;justify-content:flex-start;padding:9px 0 0;text-decoration:underline;text-underline-offset:2px}
.mpjs-element-select{margin-bottom:7px}
@media(min-width:1450px){.mpjs-stage{height:clamp(540px,64vh,700px)}}
@media(max-width:900px) and (min-width:701px){.mpjs{padding-left:16px;padding-right:16px}.mpjs-layout{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:12px}.mpjs-stage-head{align-items:flex-start}.mpjs-demo{font-size:.67rem}.mpjs .mpjs-switch button{padding:6px 8px}.mpjs-stage{min-height:470px}}
@media(max-width:700px){
  .mpjs{padding:13px 13px 32px}
  .mpjs-title{margin:10px 0 15px}
  .mpjs-title h1{font-size:1.93rem}
  .mpjs-title p{font-size:.91rem;margin-top:5px}
  .mpjs-layout{grid-template-columns:1fr;gap:13px}
  .mpjs-stage{height:clamp(290px,43svh,435px);min-height:0;border-radius:12px}
  .mpjs-drawing{inset:32px 0 29px}
  .mpjs-stage-head{top:9px;left:9px;right:10px}
  .mpjs-stage-foot{bottom:9px;left:12px;right:9px}
  .mpjs .mpjs-switch button{font-size:.73rem;min-height:29px;gap:4px;padding:4px 8px}
  .mpjs .mpjs-switch button svg{width:14px;height:14px}
  .mpjs-demo,.mpjs-instruction{font-size:.7rem}
  .mpjs-camera button{min-height:29px}
  .mpjs .mpjs-camera button{width:30px;height:29px}
  .mpjs-panel{border-radius:12px;padding:17px;box-shadow:none}
  .mpjs-panel h2{margin-bottom:13px;font-size:1.47rem}
  .mpjs-face-image{height:29px}
  .mpjs .mpjs-faces button{flex-direction:row;gap:4px;min-height:42px;padding:4px}
  .mpjs-face-image canvas{width:42px;height:21px}
  .mpjs-flat-frame.round{width:min(53%,200px)}
  .mpjs-artwork{padding:11px 0 13px;margin-bottom:12px}
}
@media(max-width:355px){.mpjs-stage-head{flex-wrap:wrap}.mpjs-demo{font-size:.63rem}.mpjs .mpjs-swatches button{font-size:.7rem}}
.mpjs-options textarea {font:inherit;font-size:1rem;resize:vertical;border:1px solid #cbc7bd;border-radius:5px;background:white;min-width:0;padding:8px 9px}
.mpjs-originals:empty{display:none}
.mpjs-originals>div{display:flex;align-items:center;justify-content:space-between;font-size:.8rem;word-break:break-word}
.mpjs .mpjs-originals button{padding:4px 8px;font-size:1rem;text-decoration:none}

.mpjs .mpjs-spin,.mpjs-angle {
  min-height:38px;padding:5px 12px;gap:7px;display:inline-flex;align-items:center;
  border-radius:24px;border:1px solid #c8c4bb;background:#fffdf8ed;color:#29271f;
  font-weight:700;font-size:.82rem;white-space:nowrap;pointer-events:auto;
}
.mpjs .mpjs-spin svg {width:14px;height:14px}
.mpjs .mpjs-spin[aria-pressed="true"] {background:#25231e;border-color:#25231e;color:white}
.mpjs-angle {position:relative;flex-shrink:0;padding:0 10px;gap:6px}
.mpjs-angle>svg {width:15px;height:15px;pointer-events:none}
.mpjs-angle>svg:last-child {position:absolute;right:9px;width:12px}
.mpjs .mpjs-angle select {
  appearance:none;-webkit-appearance:none;cursor:pointer;background:transparent;
  font-weight:700;font-size:.81rem;border:none;border-radius:20px;
  width:auto;min-width:110px;min-height:36px;padding:6px 20px 6px 0;
}
.mpjs-stage-foot .mpjs-instruction {margin:0 auto;font-size:.78rem;text-align:center}
.mpjs .mpjs-instruction.is-flat {margin-left:0}
@media(max-width:1150px){
  .mpjs-stage-foot .mpjs-instruction:not(.is-flat) {
    position:absolute;top:-1.55rem;left:0;right:0;
    justify-content:center;
  }
  .mpjs-drawing {bottom:65px}
}
@media(max-width:700px){
  .mpjs .mpjs-spin,.mpjs-angle {min-height:34px;font-size:.74rem}
  .mpjs .mpjs-spin {padding:5px 9px;gap:4px}
  .mpjs .mpjs-angle select {min-height:34px;font-size:.76rem;min-width:96px}
  .mpjs-stage-foot .mpjs-instruction {font-size:.68rem}
  .mpjs-stage {height:clamp(330px,49svh,455px)}
  .mpjs-drawing {inset:37px 0 57px}
}

.mpjs-manipulation {
  position:absolute;top:66px;left:clamp(12px,2vw,23px);z-index:2;
  display:inline-flex;background:#fffdf8f2;border:1px solid #cbc6bb;border-radius:9px;padding:2px;
}
.mpjs .mpjs-manipulation button {border-radius:6px;min-height:31px;padding:6px 9px;font-weight:650;font-size:.76rem;gap:5px}
.mpjs .mpjs-manipulation button[aria-pressed="true"] {background:#f4d762;color:#211e15}
.mpjs-manipulation svg {width:14px;height:14px}
.mpjs-stage.has-placement-tools .mpjs-drawing {top:84px}
.mpjs-model.is-placing {cursor:crosshair!important}
@media(max-width:700px){
  .mpjs-manipulation {left:9px;top:52px}
  .mpjs .mpjs-manipulation button {min-height:30px;font-size:.72rem}
  .mpjs-stage.has-placement-tools .mpjs-drawing {top:78px}
}
