/* Studio lighting, artwork layers and surface editor. */
.stage .floor-shadow{background:#202124;opacity:.19;filter:blur(24px);height:9%;transition:top .08s,left .08s,width .08s;transform:translate(-50%,-50%)}
.stage[data-theme="dark"] .floor-shadow{opacity:.35;background:#101216}
.stage-right{align-items:center}.studio-light{display:flex;align-items:center;gap:5px;border-left:1px solid #e2e4e8;margin-left:2px;padding:0 7px;color:#62666e;font-size:14px}.studio-light input{width:65px;max-width:8vw;margin:0;height:18px;accent-color:#1a56ff}.studio-light span{display:inline-block;font-weight:700}
.artboard{margin:13px 0 15px;padding:10px 9px 9px;background:#f2f3f5;border:1px solid #e2e4e8;border-radius:10px}.artboard-meta{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#62666e;font-size:10px;font-weight:700;padding-bottom:7px}.artboard .face-preview{height:145px;background:repeating-conic-gradient(#e2e4e8 0% 25%,#f2f3f5 0% 50%) 50%/14px 14px;position:relative;border-radius:5px;border:1px solid #e2e4e8;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0}.artboard .face-preview canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;cursor:move}.artboard-hint{color:#62666e;font-size:10px;margin-top:8px;line-height:1.4}.art-window-guide{position:absolute;transform:translate(-50%,-50%);background:#edf2ffb8;border:1.5px dashed #b6c8ff;display:grid;place-items:center;color:#1241cc;font-size:10px;font-weight:700;text-align:center;pointer-events:none}.art-anchor{position:absolute;transform:translate(-50%,-50%);height:13px;width:13px;border:2px solid white;border-radius:50%;background:#1a56ff;box-shadow:0 0 0 1px #45484f;pointer-events:none}
.art-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 10px}.art-actions .btn{font-size:12px;text-align:center;background:#f2f3f5;padding:10px 7px;color:#1241cc}.art-upload{cursor:pointer;display:block;position:relative}.art-upload input{display:none}.layer-list{display:flex;flex-direction:column;gap:4px;border:1px solid #e2e4e8;border-radius:8px;padding:4px;background:#f2f3f5}.layer-row{display:flex;gap:8px;align-items:center;border:1px solid transparent;border-radius:6px;background:#fff;padding:7px 5px;cursor:pointer;min-width:0}.layer-row:hover{border-color:#b6c8ff}.layer-row.active{background:#edf2ff;border-color:#b6c8ff}.layer-type{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:5px;background:#edf2ff;color:#1241cc;font-weight:800;font-size:14px}.layer-label{flex:1;min-width:0;display:flex;flex-direction:column}.layer-label b{font-size:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-label small{font-size:9px;color:#62666e}.layer-mini{width:28px;height:28px;display:grid;place-items:center;padding:3px;color:#62666e}.layer-mini svg,.layer-tools svg{width:17px;height:17px}.layer-tools{display:flex;gap:5px;justify-content:flex-end;margin-top:7px}.layer-tools button{border:1px solid #e2e4e8;background:#fff;width:31px;height:31px;border-radius:6px;display:grid;place-items:center;color:#62666e}.layer-tools button:last-child:hover{background:#ffeded;color:#ad594e;border-color:#e9c9c4}.layer-empty{padding:13px 8px;color:#777d87;font-size:11px;text-align:center}.layer-section .field textarea{resize:vertical;min-height:62px}.layer-field small{color:#62666e;font-size:11px}.layer-field input[type=range]{margin-top:9px;margin-bottom:3px}.layer-section .section-title{margin-bottom:11px}.face-grid button.active{box-shadow:inset 0 0 0 1px #1a56ff}
@media(max-width:510px){.studio-light input{width:40px;max-width:10vw}.stage-right{padding:4px}.artboard .face-preview{height:170px}}

.layer-row.active,.face-grid button.active{background:#edf2ff;border-color:#b6c8ff;color:#1241cc}.layer-type{background:#edf2ff;color:#1241cc}.layer-tools button:hover:not(:last-child){background:#edf2ff;color:#1241cc}.studio-light input{accent-color:#1a56ff}.art-anchor{background:#1a56ff;box-shadow:0 0 0 1px #1241cc}.art-window-guide{background:#edf2ffb8;border-color:#1a56ff;color:#1241cc}
