:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.6;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root,:root[data-theme=dark]{color-scheme:dark;color:#ffffffde;background:linear-gradient(135deg,#1a1a2e,#16213e)}:root[data-theme=light]{color-scheme:light;color:#213547;background:linear-gradient(135deg,#f5f7fa,#c3cfe2)}*{box-sizing:border-box}body{margin:0;min-height:100vh;padding:2rem}#app{max-width:1400px;margin:0 auto}.container{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;padding:2.5rem;box-shadow:0 8px 32px #0000004d;border:1px solid rgba(255,255,255,.1)}:root[data-theme=light] .container{background:#ffffffe6;box-shadow:0 8px 32px #0000001a}.header-section{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:1rem}.theme-toggle{padding:.6em;min-width:auto;width:44px;height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.theme-toggle svg{width:20px;height:20px}.theme-toggle .moon-icon{display:none}h1{font-size:2.5em;line-height:1.1;margin:0 0 .5rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}h2{font-size:1.8em;margin:2rem 0 1rem;color:#ffffffe6}h3{font-size:1.3em;margin:1.5rem 0 1rem;color:#ffffffd9}.subtitle{color:#ffffffb3;font-size:1.1em;margin:0 0 2rem}.input-section{margin:2rem 0}.url-input-group{display:flex;flex-direction:column;gap:.8rem;margin-bottom:1.5rem}.url-input-group label{text-align:left;font-weight:500;color:#ffffffe6}.url-input-group input{padding:.8rem 1rem;font-size:1em;border:2px solid rgba(255,255,255,.1);border-radius:10px;background:#ffffff0d;color:#ffffffe6;transition:all .3s ease;font-family:inherit}.url-input-group input:focus{outline:none;border-color:#667eea;background:#ffffff14}.url-input-group input::placeholder{color:#fff6}button{border-radius:10px;border:none;padding:.8em 1.5em;font-size:1em;font-weight:600;font-family:inherit;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #667eea4d}button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}button:active{transform:translateY(0)}.divider{text-align:center;margin:1.5rem 0;color:#ffffff80;font-weight:600;position:relative}.divider:before,.divider:after{content:"";position:absolute;top:50%;width:40%;height:1px;background:#ffffff1a}.divider:before{left:0}.divider:after{right:0}.drop-zone{border:3px dashed rgba(255,255,255,.2);border-radius:15px;padding:3rem 2rem;text-align:center;cursor:pointer;transition:all .3s ease;background:#ffffff05}.drop-zone:hover{border-color:#667eea;background:#667eea0d}.drop-zone.drag-over{border-color:#667eea;background:#667eea1a;transform:scale(1.02)}.drop-zone p{margin:.5rem 0;color:#fffc}.drop-zone-hint{font-size:.9em;color:#ffffff80!important}.preview-section{animation:fadeIn .5s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.preview-header h2{margin:0}.reset-btn{padding:.6em 1.2em;font-size:.9em;background:#ffffff1a;border:1px solid rgba(255,255,255,.2)}.reset-btn:hover{background:#ffffff26;border-color:#ffffff4d}.preview-content{display:flex;gap:2rem;align-items:flex-start}.canvas-wrapper{flex:1;min-width:0}.canvas-container{display:flex;justify-content:center;background:#0000004d;border-radius:10px;padding:1rem}#preview-canvas{max-width:100%;height:auto;border-radius:8px;box-shadow:0 4px 20px #0000004d}.controls{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem;background:#ffffff08;border-radius:12px;border:1px solid rgba(255,255,255,.05);flex-shrink:0;width:320px}.control-group{display:flex;flex-direction:column;gap:.5rem}.control-group label{display:flex;justify-content:space-between;align-items:center;color:#ffffffd9;font-weight:500}.control-group label span{color:#667eea;font-weight:600;min-width:60px;text-align:right}input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:5px;background:#ffffff1a;outline:none;transition:background .3s ease}input[type=range]:hover{background:#ffffff26}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);cursor:pointer;box-shadow:0 2px 8px #667eea66;transition:transform .2s ease}input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2)}input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);cursor:pointer;border:none;box-shadow:0 2px 8px #667eea66;transition:transform .2s ease}input[type=range]::-moz-range-thumb:hover{transform:scale(1.2)}input[type=color]{width:100%;height:40px;border:2px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0d;cursor:pointer;transition:all .3s ease}input[type=color]:hover{border-color:#667eea}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:6px}input[type=color]::-moz-color-swatch{border:none;border-radius:6px}.download-btn{width:100%;margin-top:.5rem;padding:1em 2em;font-size:1.05em}.markdown-section{margin-top:2rem;padding:1.5rem;background:#ffffff08;border-radius:12px;border:1px solid rgba(255,255,255,.05)}.instructions{text-align:left;color:#ffffffb3;line-height:1.8;margin:1rem 0;font-size:.95em}.code-block{position:relative;margin-top:1rem}.code-block code{display:block;background:#0006;padding:1.2rem;border-radius:8px;font-family:Courier New,monospace;font-size:.9em;color:#86e3ce;overflow-x:auto;word-wrap:break-word;white-space:pre-wrap}.code-block button{position:absolute;top:.5rem;right:.5rem;padding:.4em .8em;font-size:.85em;background:#667eeacc}.code-block button:hover{background:#667eea}:root[data-theme=light] h2,:root[data-theme=light] h3{color:#213547}:root[data-theme=light] .subtitle{color:#213547b3}:root[data-theme=light] .url-input-group label{color:#213547}:root[data-theme=light] .url-input-group input{border:2px solid rgba(0,0,0,.1);background:#fffc;color:#213547}:root[data-theme=light] .url-input-group input::placeholder{color:#21354766}:root[data-theme=light] .divider{color:#21354780}:root[data-theme=light] .divider:before,:root[data-theme=light] .divider:after{background:#0000001a}:root[data-theme=light] .drop-zone{border-color:#0003;background:#ffffff80}:root[data-theme=light] .drop-zone p{color:#213547}:root[data-theme=light] .drop-zone-hint{color:#21354780!important}:root[data-theme=light] .controls{background:#00000005;border:1px solid rgba(0,0,0,.05)}:root[data-theme=light] .control-group label{color:#213547}:root[data-theme=light] input[type=range]{background:#0000001a}:root[data-theme=light] input[type=color]{border:2px solid rgba(0,0,0,.1);background:#fffc}:root[data-theme=light] .markdown-section{background:#00000005;border:1px solid rgba(0,0,0,.05)}:root[data-theme=light] .instructions{color:#213547cc}:root[data-theme=light] .code-block code{background:#0000000d;color:#2d5d7b}:root[data-theme=light] .canvas-container{background:#0000000d}:root[data-theme=light] .reset-btn{background:#0000000d;border:1px solid rgba(0,0,0,.15);color:#213547}:root[data-theme=light] .reset-btn:hover{background:#0000001a;border-color:#0003;color:#213547}:root[data-theme=light] .footer{border-top:1px solid rgba(0,0,0,.1)}:root[data-theme=light] .footer p{color:#21354799}:root[data-theme=light] .footer-links .separator{color:#0000004d}:root[data-theme=light] button{box-shadow:0 4px 15px #667eea33;color:#fff}:root[data-theme=light] button:hover{box-shadow:0 6px 20px #667eea4d}:root[data-theme=light] .theme-toggle{color:#213547}:root[data-theme=light] .theme-toggle:hover{color:#213547}@media (max-width: 1024px){.preview-content{flex-direction:column}.controls{width:100%}}@media (max-width: 768px){body{padding:1rem}.container{padding:1.5rem}h1{font-size:2em}.url-input-group{gap:.6rem}.preview-header{flex-direction:column;gap:1rem;align-items:stretch}.preview-header h2{text-align:center}.reset-btn{width:100%}}.footer{margin-top:3rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.1);text-align:center}.footer p{margin:0 0 .5rem;color:#fff9;font-size:.9em}.footer-links{display:flex;justify-content:center;align-items:center;gap:.5rem;flex-wrap:wrap}.footer-links a{color:#667eea;text-decoration:none;font-weight:500;transition:color .3s ease}.footer-links a:hover{color:#764ba2;text-decoration:underline}.footer-links .separator{color:#ffffff4d;-webkit-user-select:none;user-select:none}
