*{margin:0;padding:0;box-sizing:border-box}body{font-family:"LXGW WenKai Screen",sans-serif;background:#f8fafc;min-height:100vh;color:#0f172a}.container{max-width:1200px;margin:1rem auto;padding:0 2rem}.header-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:2.5rem}.header-controls h1{font-size:2.2rem;font-weight:800;.header-controls h1 a{text-decoration:none;color:inherit;background:linear-gradient(135deg,#0ea5e9,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;transition:opacity 0.2s}.header-controls h1 a:hover{opacity:0.8}background:linear-gradient(135deg,#0ea5e9,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-0.03em}.backup-controls{display:flex;gap:0.75rem}.backup-controls button{display:flex;align-items:center;gap:0.5rem;background:white;color:#475569;font-size:0.875rem;padding:0.625rem 1rem;border:1px solid #e2e8f0;border-radius:8px;transition:all 0.2s}.backup-controls button:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateY(-1px)}.input-section{background:white;padding:1.75rem;border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,0.05);margin-bottom:2.5rem;border:1px solid #e2e8f0}textarea{width:100%;height:140px;padding:.65rem;border:1px solid #e2e8f0;border-radius:12px;font-size:1rem;line-height:1.6;resize:none;transition:all 0.2s;margin-bottom:1.25rem;background:#f8fafc;scrollbar-width:none;-ms-overflow-style:none}textarea::placeholder{color:#94a3b8;line-height:1.6}textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.1);outline:none;background:white}.input-controls{display:flex;align-items:center;gap:1.25rem}#saveBtn{background:#2563eb;color:white;padding:0.75rem 1.75rem;border-radius:10px;font-weight:600;font-size:0.95rem;transition:all 0.2s;border:none}#saveBtn:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 6px rgba(37,99,235,0.1)}.storage-tip{display:flex;align-items:center;gap:0.5rem;font-size:0.875rem;color:#64748b;padding:0.75rem 1rem;background:#f1f5f9;border-radius:10px}.storage-tip svg{color:#0ea5e9;flex-shrink:0}.tag-cloud{background:white;padding:.75rem;border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,0.05);margin-bottom:2.5rem;border:1px solid #e2e8f0;position:relative;display:none}.tag-cloud.has-tags{display:block}.tag-cloud h3{font-size:1.25rem;font-weight:600;color:#0f172a}#tagContainer{display:flex;flex-wrap:wrap;gap:0.75rem;margin-bottom:1rem}.tag-cloud-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}#clearFilter{display:inline-flex;align-items:center;gap:0.5rem;background:#f1f5f9;color:#64748b;padding:0.3rem 0.3rem;border-radius:8px;font-size:0.875rem;border:1px solid #e2e8f0;cursor:pointer;transition:all 0.2s;margin:0;justify-content:center;width:80px}#clearFilter::before{content:'×';font-size:1.2rem;line-height:1}#clearFilter:hover{background:#e2e8f0;color:#475569;transform:translateY(-1px)}.tag{background:#f1f5f9;padding:0.3rem 0.3rem;border-radius:8px;font-size:0.875rem;color:#475569;transition:all 0.2s;border:1px solid #e2e8f0;cursor:pointer}.tag:hover{background:#e2e8f0;color:#1e293b;transform:translateY(-1px)}.ideas-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-bottom:50px}.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);z-index:1000}.modal-content{position:relative;background:white;width:100%;margin:0 auto;padding:.5rem;border-bottom-right-radius:16px;border-bottom-left-radius:16px;max-width:800px;box-shadow:0 4px 6px rgba(0,0,0,0.1);animation:modal-pop 0.2s ease-out}@keyframes modal-pop{from{transform:scale(0.9);opacity:0}to{transform:scale(1);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.close-modal{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#64748b}#editInput{margin-bottom:0.5rem;height:100%;min-height:75vh}#updateBtn{background:#2563eb;color:white;padding:0.75rem 1.75rem;border-radius:10px;font-weight:600;font-size:0.95rem;border:none;cursor:pointer;width:100%}.edit-btn,.export-img-btn,.delete-btn{background:none;border:none;color:#94a3b8;font-size:1.2rem;line-height:1;padding:0.5rem;border-radius:50%;cursor:pointer;transition:all 0.2s;opacity:0.8;display:flex;align-items:center;justify-content:center}.export-img-btn{right:5.2rem;top:.3rem}.delete-btn{right:.4rem;top:.3rem}.idea-card:hover .edit-btn,.idea-card:hover .export-img-btn,.idea-card:hover .delete-btn{opacity:1}.edit-btn:hover,.export-img-btn:hover{color:#3b82f6;background:#eff6ff;transform:scale(1.05)}.delete-btn:hover{color:#ef4444;background:#fee2e2;transform:scale(1.05)}.idea-card{background:white;padding:.75rem;border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,0.05);transition:all 0.2s;position:relative;display:flex;flex-direction:column;height:100%;border-left:3px solid #17bfb7;border-radius:6px}.card-content{font-size:1rem;line-height:1.7;color:#334155;margin-bottom:0.5rem;flex:1}.card-footer{border-top:1px solid #aea2b4}.card-footer-top{display:flex;justify-content:space-between;align-items:center}.tags{display:none;flex-wrap:wrap;gap:0.5rem}.idea-card .tag{font-size:0.8rem;padding:0.3rem 0.8rem;background:#f8fafc}.delete-btn{background:none;border:none;color:#94a3b8;font-size:1.2rem;line-height:1;padding:0.5rem;border-radius:50%;cursor:pointer;transition:all 0.2s;opacity:0.8}.idea-card:hover .delete-btn{opacity:1}.delete-btn:hover{color:#ef4444;background:#fee2e2;transform:scale(1.05)}@media screen and (max-width:1023px){.container{padding:0.5rem;margin:0.5rem auto}.clear-btn{margin:10px 0 0 0;width:100%}.backup-controls button{padding:0.625rem .7rem}.header-controls{flex-direction:column;gap:.5rem;align-items:stretch;margin-bottom:.5rem}.header-controls h1{font-size:1.8rem;text-align:center}.backup-controls{flex-wrap:wrap;justify-content:center;gap:0.35rem}.input-section{padding:0.3rem;margin-bottom:.7rem}.input-controls{flex-direction:column;align-items:stretch}#saveBtn{width:100%;margin-bottom:0.75rem}.storage-tip{text-align:center;display:none}.tag-cloud{padding:0.5rem;margin-bottom:0.7rem}.tag-cloud-header{gap:0.75rem}#clearFilter{display:none}.ideas-container{grid-template-columns:1fr;gap:1rem;margin-bottom:30px}.idea-card{padding:.25rem}.delete-btn{opacity:1}}@media screen and (min-width:769px) and (max-width:1024px){.ideas-container{grid-template-columns:repeat(2,1fr)}}.card-ing{display:flex;gap:10px;justify-content:flex-end}.content{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;font-family:"LXGW WenKai Screen",sans-serif !important;font-size:1rem}button#classTAG{display:inline-flex;align-items:center;justify-content:center;padding:10px 10px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all 0.3s ease;position:relative;overflow:hidden;background:linear-gradient(135deg,#6e8efb,#a777e3);color:white;box-shadow:0 4px 6px rgba(0,0,0,0.1);gap:8px}button#classTAG:hover{transform:translateY(-2px);box-shadow:0 6px 12px rgba(0,0,0,0.15);background:linear-gradient(135deg,#5d7de8,#9a68d8)}button#classTAG:active{transform:translateY(0);box-shadow:0 2px 4px rgba(0,0,0,0.1)}button#classTAG:focus{outline:none;box-shadow:0 0 0 3px rgba(110,142,251,0.3)}button#classTAG:disabled{background:#cccccc;cursor:not-allowed;transform:none;box-shadow:none}button#classTAG::before{content:"";display:inline-block;width:16px;height:16px;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 7h10v2H7zm0 4h7v2H7z"/></svg>');background-repeat:no-repeat;background-position:center}button#classTAG::after{content:"";position:absolute;width:100%;height:100%;top:0;left:0;background:rgba(255,255,255,0.3);opacity:0;transition:opacity 0.3s}button#classTAG:active::after{opacity:1;transition:opacity 0s}.search-wrapper{display:flex;align-items:center;width:100%;max-width:525px;margin:0 auto;gap:0.75rem}.search-container{position:relative;flex:1;box-shadow:0 2px 5px rgba(0,0,0,0.1);border-radius:30px;transition:all 0.3s ease}#searchInput{width:100%;padding:12px 45px 12px 15px;border:2px solid #e0e0e0;border-radius:30px;font-size:16px;outline:none;background:#fff;transition:inherit}#searchInput:focus{border-color:#4a90e2;box-shadow:0 2px 8px rgba(74,144,226,0.3)}.search-icon{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#999}.clear-btn{margin-left:10px;padding:10px 15px;background:#f8f9fa;border:2px solid #e0e0e0;border-radius:30px;cursor:pointer;color:#555;font-size:14px;white-space:nowrap;box-shadow:0 2px 5px rgba(0,0,0,0.1);transition:all 0.3s ease}.clear-btn:hover{background:#e0e0e0}.tc-content{background-color:white;border-radius:12px;width:100%;max-width:232px;box-shadow:0 10px 30px rgba(0,0,0,0.3);overflow:hidden;border:none;margin:0 auto;max-height:212px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tc-header{padding:16px 20px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.tc-header h3{margin:0;font-size:18px;color:#333}.close-tc{font-size:24px;cursor:pointer;line-height:1;bottom:2px;position:relative;color:#0f172a}.close-tc:hover{color:#000}.tc-body{padding:20px;color:#555;font-size:14px}.tc-footer{padding:16px 20px;text-align:right;border-top:1px solid #eee;display:flex;justify-content:space-between}.btn{padding:8px 16px;border:none;border-radius:6px;cursor:pointer;font-size:14px}.btn-secondary{background-color:#ddd;color:#333}.btn-secondary:hover{background-color:#ccc}.btn-danger{background-color:#e74c3c;color:white}.btn-danger:hover{background-color:#c0392b}