.media-edit-shell{position:fixed;inset:0;z-index:650;background:#02060dec;display:flex;justify-content:center;align-items:center;padding:12px;font-family:Yekan,system-ui,sans-serif;color:#f4f7ff}.media-edit{width:min(780px,100%);height:min(920px,96vh);height:min(920px,96dvh);display:flex;flex-direction:column;background:#101826;border:1px solid #26394f;border-radius:24px;overflow:hidden;box-shadow:0 20px 100px #0008}.media-edit header{padding:16px;display:flex;gap:16px;align-items:center;justify-content:space-between;flex:none;border-bottom:1px solid #26394f}.media-edit button,.media-edit select{font:inherit;color:inherit;cursor:pointer;background:#1b2a3e;border:1px solid #33465e;border-radius:10px;padding:8px 13px}.media-edit [data-apply]{background:#287cfb;border-color:#287cfb}.media-edit [disabled]{opacity:.5;cursor:wait}.me-stage{display:flex;align-items:center;justify-content:center;position:relative;flex:1;min-height:120px;background:#000;overflow:hidden;padding:8px}.me-stage canvas{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;touch-action:none;cursor:grab}.me-tools{flex:none;max-height:40%;overflow:auto;padding:14px;background:#101826}.me-tabs,.me-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.me-row{margin-top:12px}.me-row label{display:flex;align-items:center;gap:8px;font-size:12px;flex:1;min-width:140px}.me-row input[type=range]{max-width:160px;width:100%;accent-color:#4c92ff}.me-row input[type=color]{padding:0;width:32px;height:32px;border:0;border-radius:6px;background:transparent}.me-text-controls textarea{width:100%;padding:12px;border:1px solid #33465e;background:#09111e;color:#fff;font:inherit;border-radius:12px;margin-top:12px;resize:none;direction:auto}.me-hint,.me-status{font-size:11px;color:#91a4c1;margin-top:10px}.me-status{color:#ffbf83}.me-text-controls[hidden]{display:none!important}@media(max-width:650px){.media-edit-shell{padding:0}.media-edit{border:0;border-radius:0;height:100vh;height:100dvh}.media-edit header{padding-top:max(14px,env(safe-area-inset-top))}.me-tools{padding-bottom:max(14px,env(safe-area-inset-bottom));max-height:43%}.me-tabs button{flex:1;padding:7px}.me-row label{min-width:120px}.me-stage{padding:0}} 
