.meme-studio-container{display:flex;flex-direction:column;min-height:100vh;padding-top:5rem}.meme-studio-content{flex:1;display:flex;flex-direction:column;max-width:1440px;margin:0 auto;width:100%;padding:1rem}.meme-studio-header{padding:1rem 0 2rem;text-align:center}.meme-studio-header h1{background:linear-gradient(90deg,#8B5CF6,#D946EF);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:2.5rem;font-weight:700;margin-bottom:.5rem}.meme-studio-header p{color:rgba(255,255,255,.7);max-width:600px;margin:0 auto}.meme-editor-grid{display:grid;grid-template-columns:180px 1fr 300px;grid-template-rows:1fr;gap:10px;height:calc(100vh - 120px);max-height:calc(100vh - 120px);overflow:hidden}.tools-panel{background-color:rgba(42,27,78,.6);backdrop-filter:blur(10px);border-radius:15px;padding:15px 10px;display:flex;flex-direction:column;align-items:center;width:180px;overflow-y:auto;height:100%;box-shadow:0 2px 10px rgba(0,0,0,.2);border:1px solid rgba(131,110,249,.2)}.canvas-container{background-color:rgba(26,18,50,.7);align-items:center;justify-content:center;min-height:400px;position:relative}.canvas-container,.properties-panel{backdrop-filter:blur(10px);border-radius:.75rem;border:1px solid rgba(131,110,249,.2);display:flex;padding:1.5rem}.properties-panel{background-color:rgba(42,27,78,.6);flex-direction:column;height:calc(100vh - 12rem);position:sticky;top:5rem;overflow-y:auto}.tool-button{width:60px;height:60px;border-radius:12px;margin-bottom:10px;display:flex;align-items:center;justify-content:center;background-color:rgba(26,18,50,.7);color:rgba(255,255,255,.8);border:1px solid transparent;cursor:pointer;transition:all .2s ease;font-size:14px;box-shadow:0 2px 5px rgba(0,0,0,.2)}.tool-button:hover{background-color:rgba(42,27,78,.8);border-color:rgba(131,110,249,.5);transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,.3);color:#fff}.tool-button.active{background-color:rgba(131,110,249,.3);border-color:rgba(131,110,249,.8);color:#fff;box-shadow:0 0 0 2px rgba(131,110,249,.3)}.meme-canvas{position:relative;background-color:#fff;overflow:hidden;box-shadow:0 5px 20px rgba(0,0,0,.3)}.canvas-element{position:absolute;cursor:move;user-select:none}.element-controls{pointer-events:none}.element-controls,.resize-handle{position:absolute;border:2px solid #8b5cf6}.resize-handle{width:10px;height:10px;background:#fff;border-radius:50%;pointer-events:all;cursor:nwse-resize}.rotate-handle{position:absolute;width:20px;height:20px;border-radius:50%;background:#8B5CF6;pointer-events:all;cursor:grab}.download-button,.rotate-handle{display:flex;align-items:center;justify-content:center;color:white}.download-button{background:linear-gradient(90deg,#8B5CF6,#D946EF);padding:.75rem 1.5rem;border-radius:.5rem;font-weight:600;transition:all .2s ease;gap:.5rem;margin-top:1rem}.download-button:hover{opacity:.9;transform:translateY(-1px)}.color-picker-container{margin-top:1rem}.properties-section{margin-bottom:1.5rem}.properties-section h3{font-size:1rem;font-weight:600;margin-bottom:.75rem;color:white}.property-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.property-label{font-size:.875rem;color:rgba(255,255,255,.7)}.slider{width:100%;height:4px;-webkit-appearance:none;appearance:none;background:rgba(131,110,249,.3);outline:none;border-radius:2px;margin-top:.5rem}.slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:#8B5CF6;cursor:pointer;border:2px solid rgba(255,255,255,.7)}.tool-section{width:100%;margin-top:15px;border-top:1px solid rgba(131,110,249,.2);padding-top:10px}.tool-section-title{font-size:.95rem;color:rgba(255,255,255,.8);margin:15px 0 10px;font-weight:500;text-align:center;border-bottom:1px solid rgba(131,110,249,.3);padding-bottom:5px;width:100%}.tool-section-content{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.layers-list-container{width:100%;margin-top:15px;max-height:350px;overflow-y:auto;padding:5px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background-color:rgba(26,18,50,.7)}.layers-list{display:flex;flex-direction:column;gap:8px;position:relative;margin-top:5px;padding:5px;width:100%}.layers-list:before{content:"Click to select layer";display:block;font-size:11px;color:rgba(255,255,255,.6);text-align:center;padding-bottom:5px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:8px}.layer-item{display:grid;grid-template-columns:20px 20px 25px 1fr 25px;align-items:center;padding:8px;background-color:rgba(26,18,50,.6);border-radius:8px;border:1px solid transparent;cursor:pointer;transition:all .2s ease;height:44px;position:relative;width:100%}.layer-name{font-size:12px;font-weight:500;color:rgba(255,255,255,.9);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-left:5px}.layer-item:hover{background-color:rgba(131,110,249,.15);border-color:rgba(131,110,249,.4);transform:translateX(3px)}.layer-item.selected{background-color:rgba(131,110,249,.2);border:1px solid rgba(131,110,249,.7);transform:translateX(5px);position:relative;z-index:2}.layer-item.selected:before{content:"▶";position:absolute;left:-5px;color:rgba(131,110,249,.9);font-size:10px}.layer-item.selected .layer-name{color:#836ef9;font-weight:600}.layer-item.drag-over{background-color:rgba(131,110,249,.1);border:2px dashed #836ef9}.layer-drag-handle{margin-right:6px;cursor:grab}.layer-visibility{margin-right:4px}.layer-visibility button{background:none;border:none;padding:2px;border-radius:2px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:rgba(255,255,255,.7)}.layer-visibility button:hover{color:rgba(255,255,255,1);background-color:rgba(131,110,249,.2)}.layer-icon{margin-right:6px;width:24px;height:24px;background-color:rgba(131,110,249,.2);border-radius:4px;display:flex;align-items:center;justify-content:center}.layer-item:hover .layer-icon{background-color:rgba(131,110,249,.3)}.layer-item.selected .layer-icon{background-color:rgba(131,110,249,.4);box-shadow:0 0 0 1px rgba(131,110,249,.5)}.layer-actions{opacity:.7;transition:opacity .2s}.layer-actions button{background:none;border:none;padding:2px;border-radius:2px;display:flex;align-items:center;justify-content:center;cursor:pointer}.layer-item:hover .layer-actions{opacity:1}@media (max-width:1023px){.tools-panel{padding:.5rem}.tool-button{width:40px;height:40px}.layers-list-container{width:100%;margin-left:0;position:fixed;bottom:0;left:0;right:0;z-index:50;border-radius:8px 8px 0 0;max-height:40vh;background-color:rgba(26,18,50,.95);box-shadow:0 -4px 15px rgba(0,0,0,.3)}.tool-section{display:none}.tool-section.active{display:block;position:fixed;bottom:0;left:0;right:0;background-color:rgba(42,27,78,.95);padding:1rem;z-index:50;border-radius:8px 8px 0 0;border-top:1px solid rgba(131,110,249,.3)}.layer-name{max-width:200px;font-size:14px}.layer-item{padding:8px 10px;margin-bottom:8px}}.empty-layers-message{text-align:center;padding:20px 10px;color:rgba(255,255,255,.7)}.empty-layers-message p{margin:0 0 5px;font-weight:600;font-size:14px}.empty-layers-message small{font-size:12px;opacity:.8}