resize', resize);
            resize();

            // 处理《静夜思》诗句
            const rawPoem = "床前明月光，疑是地上霜。举头望明月，低头思故乡。";
            const poem = rawPoem.replace(/[^\u4e00-\u9fa5]/g, '');
            const seenChars = new Set();
            const chars = [];
            for (const c of poem) {
                if (!seenChars.has(c)) {
                    seenChars.add(c);
                    chars.push(c);
                }
            }

   