.publish-modal.asset-upload-editor{width:min(1180px,calc(100vw - 48px));height:min(850px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;overflow:hidden;border-radius:20px;background:#f8f6f1}
.asset-upload-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,1fr);height:100%;min-height:0}
.asset-upload-stage{position:relative;isolation:isolate;background:#d8d1c4;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
.asset-stage-backdrop{position:absolute;inset:-40px;background-size:cover;background-position:center;filter:blur(35px);opacity:.35;z-index:-1}
.asset-stage-canvas{flex:1;min-height:0;display:grid;place-items:center;position:relative;padding:32px 0 12px}
.asset-stage-canvas>input[type=file],.asset-zip-upload>input[type=file]{display:none}
.asset-stage-media{display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain;position:absolute;inset:0}
.asset-preview-empty{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:85%;padding:32px 20px;border:1px dashed #a6a08f;border-radius:16px;color:#504d43;background:#f8f6f13d;cursor:pointer}
.asset-preview-empty>span:first-child{display:grid;place-items:center;width:56px;height:56px;background:#f8f6f1b3;border:1px solid #ffffff80;border-radius:50%;font-size:28px;color:#171714}
.asset-preview-empty strong{font:600 24px/1.2 Manrope,sans-serif;letter-spacing:-.8px;color:#27261f}
.asset-preview-empty>span{font-size:13px}
.asset-preview-empty b{background:#171714;color:#fff;padding:12px 20px;border-radius:9px;font-size:12px}
.asset-preview-empty small{font-size:10px;color:#696559}
.asset-stage-toolbar{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:18px 22px 0;flex-shrink:0}
.asset-change-previews{border:1px solid #ffffffc9;border-radius:999px;background:#f8f6f1dd;padding:10px 14px;color:#37352c;font-size:11px;white-space:nowrap;cursor:pointer;box-shadow:0 2px 10px #00000008}
.asset-stage-toolbar .asset-selected-files{min-width:0}
.asset-stage-toolbar .upload-preview-strip{margin:0;padding:8px 3px 4px;max-width:330px}
.asset-stage-toolbar .upload-preview-strip>div{height:75px;flex:0 0 72px;border:2px solid #fff8;border-radius:9px;background:#f8f6f1;overflow:visible}
.asset-stage-toolbar .upload-preview-strip>div.active{border-color:#c8ff46;box-shadow:0 0 0 1px #4b4c2780}
.asset-thumb-select{display:block;width:100%;height:100%;border:0;border-radius:7px;padding:0;overflow:hidden;background:transparent;cursor:pointer}
.asset-thumb-select img,.asset-thumb-select video{display:block;object-fit:cover;width:100%;height:100%}
.publish-modal .asset-stage-toolbar .asset-remove-file{right:-7px;top:-8px;width:24px;height:24px;font-size:19px}
.publish-modal .asset-stage-toolbar .asset-make-cover{font-size:7px;padding:3px 0;bottom:3px;opacity:.95}
.asset-stage-toolbar .upload-preview-strip span{pointer-events:none;font-size:7px}
.asset-stage-toolbar .preview-order-hint{display:none}
.asset-stage-caption{margin:12px 22px 20px;color:#676052;font-size:10px;text-align:right}
.asset-upload-details{min-width:0;min-height:0;overflow-y:auto;padding:26px 30px 22px;scrollbar-width:thin;scrollbar-color:#d6d1c6 transparent}
.asset-editor-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
.asset-editor-header p{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#8a867c;margin:0}
.asset-editor-close{display:grid;place-items:center;width:37px;height:37px;flex-shrink:0;border:0;border-radius:50%;font-size:26px;font-weight:400;background:#eae7df;color:#171714;cursor:pointer}
.asset-editor-close:hover{background:#dfdbd0}
.asset-taxonomy-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.asset-upload-editor .asset-taxonomy-row .asset-field-label{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#888477;margin-bottom:5px}
.asset-upload-editor .asset-taxonomy-row summary{padding:8px 10px;min-height:35px;font-size:11px;background:transparent;border-color:#ddd8cd}
.asset-upload-editor .asset-field-hint{display:none}
.asset-upload-editor .asset-taxonomy-row .asset-selected-options{gap:4px}
.asset-upload-editor .asset-taxonomy-row .asset-selected-options button{background:#ebe8df;border-color:#ded9cc;color:#5e594d;border-radius:999px;font-size:9px;padding:4px 7px}
.asset-editor-title{display:block;margin:0 0 20px}
.asset-editor-title>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.publish-modal.asset-upload-editor .asset-editor-title textarea{box-sizing:border-box;display:block;width:100%;resize:none;min-height:54px;max-height:200px;padding:6px 0;border:0;border-bottom:1px solid transparent;outline:none;border-radius:0;background:transparent;color:#171714;font:500 clamp(28px,2.4vw,37px)/1.08 Manrope,sans-serif;letter-spacing:-1.8px}
.asset-editor-title textarea::placeholder{color:#aaa498}
.asset-editor-title textarea:focus{border-bottom-color:#aaa498!important}
.asset-editor-creator{display:flex;gap:10px;align-items:center;padding-bottom:19px;margin-bottom:18px;border-bottom:1px solid #dedbd3}
.asset-editor-creator>img,.asset-creator-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#e3ded2;display:grid;place-items:center;font-size:11px;font-weight:700;color:#625b4a}
.asset-editor-creator strong{font-size:11px;text-decoration:underline;text-underline-offset:2px}
.asset-editor-creator small{display:block;font-size:9px;color:#8b867b;margin-top:5px}
.asset-editor-notice{font-size:10px;line-height:1.5;color:#79622c;background:#f2ead3;padding:10px;border-radius:8px}
.asset-properties-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dedbd3;border-radius:12px;margin-bottom:17px;background:#f8f6f1}
.asset-properties-grid>*{padding:12px;min-width:0}
.asset-properties-grid>*:nth-child(odd){border-right:1px solid #dedbd3}
.asset-properties-grid>*:nth-child(-n+2){border-bottom:1px solid #dedbd3}
.asset-upload-editor .asset-properties-grid .asset-field-label,.asset-properties-grid>label{display:block;font-size:9px;font-weight:400;color:#8b867b;margin:0;text-transform:uppercase;letter-spacing:.3px}
.asset-upload-editor .asset-properties-grid summary{border:0;border-radius:0;background:transparent;min-height:24px;padding:0;color:#25251f;font-size:11px;font-weight:600}
.asset-upload-editor .asset-properties-grid input[readonly]{display:block;border:0;background:transparent;padding:0;margin-top:6px;min-height:20px;height:auto;font-size:11px;color:#25251f;font-weight:600;text-transform:none;letter-spacing:0}
.asset-upload-editor .asset-properties-grid .asset-option-panel{min-width:210px;left:-5px;right:auto}
.asset-upload-editor .asset-properties-grid .asset-selected-options button{font-size:9px;padding:3px 5px}
.asset-original-section{margin-bottom:19px}
.asset-upload-editor .asset-zip-upload{display:flex;align-items:center;justify-content:center;gap:12px;background:#c8ff46;color:#171714;border:1px solid #b8ed3e;border-radius:12px;min-height:49px;padding:12px 15px;cursor:pointer}
.asset-zip-upload>span{font-size:23px;line-height:1}
.asset-zip-upload strong{font-size:13px;flex:1;text-align:center}
.asset-zip-upload:hover{background:#bced3d}
.asset-upload-editor .asset-selected-original{background:#eeebe3;border:0;margin:8px 0 10px;padding:12px 36px 12px 10px;font-size:10px}
.asset-file-options{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}
.asset-offering-switch{display:flex;gap:3px;border:1px solid #dedbd3;background:#eae7df;border-radius:8px;padding:3px}
.asset-upload-editor .asset-offering-switch label{display:flex;align-items:center;gap:6px;margin:0;padding:7px 10px;border-radius:5px;font-size:10px;font-weight:700;color:#8c8679;cursor:pointer}
.asset-offering-switch label.selected{background:#fff;color:#171714;box-shadow:0 1px 4px #0000000c}
.asset-upload-editor .asset-offering-switch input,.asset-upload-editor .asset-ai-option input{width:13px!important;height:13px!important;min-height:0!important;padding:0;margin:0;accent-color:#171714}
.asset-upload-editor .asset-ai-option{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;font-size:11px;color:#4d493f;cursor:pointer}
.asset-upload-file-help{font-size:9px;color:#918b7e;margin:10px 0 0}
.asset-styles-section{padding-top:17px;border-top:1px solid #dedbd3}
.asset-styles-section .asset-field-label{font-size:11px}
.asset-upload-editor .asset-styles-section summary{background:transparent;font-size:11px;min-height:38px;padding:8px 10px}
.asset-upload-editor .asset-styles-section .asset-selected-options button{border-radius:999px;background:#fff;border-color:#dedbd3;color:#625c50;padding:7px 10px;font-size:10px}
.asset-editor-error{background:#fff1ee;border:1px solid #e9c7be;border-radius:8px;padding:10px;font-size:11px;line-height:1.5;color:#a32f25}
.asset-upload-editor .asset-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:17px;border-top:1px solid #dedbd3}
.asset-editor-actions button{font-size:11px;min-height:40px;border-radius:9px}
.asset-upload-editor button:focus-visible,.asset-upload-editor input:focus-visible,.asset-upload-editor textarea:focus-visible{outline:2px solid #6c51f4;outline-offset:3px}
@media(max-width:850px){
 .publish-modal.asset-upload-editor{width:calc(100vw - 24px);height:auto;max-height:calc(100dvh - 24px);overflow-y:auto}
 .asset-upload-layout{display:flex;flex-direction:column;height:auto}
 .asset-upload-stage{min-height:360px;height:45dvh;flex:none}
 .asset-stage-canvas{min-height:230px}
 .asset-upload-details{overflow:visible;padding:22px;min-height:0}
 .asset-stage-toolbar{padding:12px 16px 0;gap:8px}
 .asset-stage-toolbar .upload-preview-strip{max-width:220px}
 .asset-stage-caption{margin:10px 16px 14px;font-size:9px}
 .asset-editor-header{margin-bottom:16px}
 .asset-editor-title textarea{font-size:30px!important;min-height:52px!important}
 .asset-upload-editor .asset-editor-close{position:absolute;right:14px;top:14px;z-index:5;background:#f8f6f1ee;box-shadow:0 2px 8px #0001}
 .asset-upload-editor .asset-properties-grid .asset-option-panel{min-width:190px}
 .asset-upload-editor .asset-properties-grid>*:nth-child(2) .asset-option-panel{left:auto;right:-5px}
}
@media(max-width:420px){
 .asset-upload-details{padding:20px 16px}
 .asset-stage-toolbar .upload-preview-strip{max-width:170px}
 .asset-stage-toolbar .upload-preview-strip>div{flex-basis:62px;height:65px}
 .asset-change-previews{padding:9px 10px;font-size:10px}
 .asset-taxonomy-row{gap:8px}
 .asset-file-options{gap:10px}
}
