*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #1a1a2e;--bg-panel: #16213e;--bg-card: #0f3460;--accent: #e94560;--accent-hover: #ff6b81;--text: #eee;--text-muted: #999;--border: #2a2a4a;--radius: 8px;--shadow: 0 2px 12px rgba(0,0,0,.3)}html,body{height:100%}body{font-family:Segoe UI,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);overflow:hidden}button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}.app{display:grid;grid-template-columns:240px 1fr 220px;grid-template-rows:auto 1fr;height:100vh;gap:0}.header{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:var(--bg-panel);border-bottom:1px solid var(--border);min-height:48px}.header h1{font-size:18px;font-weight:700;letter-spacing:1px}.header h1 span{color:var(--accent)}.header-actions{display:flex;gap:8px}.panel{background:var(--bg-panel);border-right:1px solid var(--border);overflow-y:auto;padding:12px}.panel:last-child{border-right:none;border-left:1px solid var(--border)}.panel-title{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:var(--text-muted);margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid var(--border)}.canvas-area{position:relative;display:flex;align-items:center;justify-content:center;background:#111;overflow:hidden}.canvas-wrapper{position:relative;background:#fff;box-shadow:var(--shadow)}.canvas-wrapper canvas{position:absolute;top:0;left:0;cursor:crosshair}.toolbar-section{margin-bottom:16px}.symbol-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.symbol-btn{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;border-radius:var(--radius);border:2px solid transparent;transition:all .15s;background:var(--bg-card)}.symbol-btn:hover{border-color:var(--accent)}.symbol-btn.active{border-color:var(--accent);background:#e9456026}.symbol-btn canvas{width:36px;height:36px}.symbol-btn span{font-size:10px;color:var(--text-muted)}.tool-row{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:12px}.tool-btn{flex:1;min-width:0;padding:8px 4px;font-size:12px;border-radius:var(--radius);background:var(--bg-card);border:2px solid transparent;transition:all .15s;text-align:center}.tool-btn:hover{border-color:var(--accent)}.tool-btn.active{border-color:var(--accent);background:#e9456026}.slider-group{margin-bottom:12px}.slider-group label{display:flex;justify-content:space-between;font-size:11px;color:var(--text-muted);margin-bottom:4px}.slider-group input[type=range]{width:100%;accent-color:var(--accent)}.color-row{display:flex;gap:6px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.color-swatch{width:24px;height:24px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:border-color .15s}.color-swatch:hover,.color-swatch.active{border-color:#fff}.color-swatch input[type=color]{opacity:0;width:100%;height:100%;cursor:pointer}.layer-item{display:flex;align-items:center;gap:6px;padding:8px;border-radius:var(--radius);margin-bottom:4px;background:var(--bg-card);font-size:12px;border:2px solid transparent;cursor:pointer}.layer-item:hover{border-color:var(--border)}.layer-item.active{border-color:var(--accent)}.layer-item .eye-toggle{font-size:14px;opacity:.6;padding:2px}.layer-item .eye-toggle:hover{opacity:1}.layer-item .layer-name{flex:1}.layer-item .layer-delete{opacity:.4;font-size:14px;padding:2px}.layer-item .layer-delete:hover{opacity:1;color:var(--accent)}.upload-zone{border:2px dashed var(--border);border-radius:var(--radius);padding:16px;text-align:center;cursor:pointer;transition:border-color .2s;margin-bottom:12px}.upload-zone:hover{border-color:var(--accent)}.upload-zone p{font-size:12px;color:var(--text-muted)}.uploaded-thumb{width:100%;border-radius:var(--radius);margin-bottom:8px;object-fit:cover;max-height:140px}.gallery-item{display:flex;align-items:center;gap:8px;padding:6px;border-radius:var(--radius);margin-bottom:4px;cursor:pointer;border:2px solid transparent;background:var(--bg-card)}.gallery-item:hover{border-color:var(--border)}.gallery-item.active{border-color:var(--accent)}.gallery-item img{width:48px;height:36px;object-fit:cover;border-radius:4px;background:#fff}.gallery-item .art-info{flex:1;font-size:11px}.gallery-item .art-info .art-name{font-weight:600}.gallery-item .art-delete{opacity:.4;font-size:14px;padding:2px}.gallery-item .art-delete:hover{opacity:1;color:var(--accent)}.btn{padding:8px 14px;border-radius:var(--radius);font-size:12px;font-weight:600;transition:all .15s}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary{background:var(--bg-card);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{border-color:var(--accent)}.btn-block{width:100%}.modal-overlay{position:fixed;inset:0;z-index:1000;background:#0009;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px)}.modal{background:var(--bg-panel);border:1px solid var(--border);border-radius:12px;width:560px;max-width:90vw;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 8px 40px #00000080}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-header h2{font-size:16px;font-weight:700}.modal-close{font-size:22px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:background .15s}.modal-close:hover{background:var(--bg-card)}.modal-body{padding:20px;overflow-y:auto}.changelog-section{margin-bottom:20px}.changelog-section h3{font-size:14px;font-weight:700;margin-bottom:8px;color:var(--accent)}.changelog-date{font-weight:400;font-size:12px;color:var(--text-muted);margin-left:8px}.changelog-section ul{list-style:none;padding:0}.changelog-section li{font-size:13px;padding:4px 0 4px 16px;position:relative;line-height:1.5}.changelog-section li:before{content:"•";position:absolute;left:0;color:var(--accent)}.backlog-list li{color:var(--text-muted)}.backlog-list li:before{color:var(--text-muted)}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}@media(max-width:900px){.app{grid-template-columns:200px 1fr 180px}}
