*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{color:#333;background:url(/images/background.png) 50%/cover fixed;font-family:Segoe UI,system-ui,-apple-system,sans-serif;overflow:hidden}.app{flex-direction:column;height:100vh;display:flex}.app-header{text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffc;border-bottom:2px solid #f8bbd0;flex-shrink:0;padding:1rem 1.5rem;position:relative}.app-header h1{color:#e91e63;letter-spacing:-.5px;font-size:1.6rem;font-weight:700}.logout-button{color:#e91e63;cursor:pointer;background:#fff;border:2px solid #e91e63;border-radius:20px;padding:.4rem 1rem;font-size:.85rem;font-weight:600;transition:all .15s;position:absolute;top:50%;right:1.5rem;transform:translateY(-50%)}.logout-button:hover{background:#fce4ec}.mode-tabs{justify-content:center;gap:4px;margin-top:.7rem;display:flex}.mode-tab{color:#ad1457;cursor:pointer;background:#fff;border:2px solid #f8bbd0;border-radius:20px;padding:.35rem 1rem;font-size:.85rem;font-weight:600;transition:all .15s}.mode-tab:hover{background:#fce4ec}.mode-tab.active{color:#fff;background:linear-gradient(135deg,#e91e63,#ad1457);border-color:#0000}.form-row{flex-direction:column;gap:.4rem;margin-bottom:1rem;display:flex}.form-row label{color:#555;font-size:.85rem;font-weight:600}.form-row select{color:#333;background:#fff;border:2px solid #f8bbd0;border-radius:10px;padding:.5rem .7rem;font-size:.9rem}.form-row select:focus{border-color:#e91e63;outline:none}.placeholder{color:#888;justify-content:center;align-items:center;height:100%;font-size:1.2rem;display:flex}.studio-main{flex:1;position:relative;overflow:hidden}.studio-view{flex-direction:column;min-height:0;display:flex;position:absolute;inset:0}.babylon-canvas-wrapper{flex:1 1 0;min-width:0;min-height:0;position:relative;overflow:hidden}.babylon-canvas{touch-action:none;outline:none;width:100%;height:100%;display:block;position:absolute;inset:0}.studio-toolbar{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffd9;border-bottom:1px solid #f8bbd0;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;padding:8px 12px;display:flex}.toolbar-label{color:#ad1457;margin-right:4px;font-size:.8rem;font-weight:600}.toolbar-btn{cursor:pointer;color:#ad1457;background:#fff;border:2px solid #f8bbd0;border-radius:18px;align-items:center;gap:4px;padding:6px 12px;font-size:.82rem;font-weight:500;transition:all .15s;display:inline-flex}.toolbar-btn:hover{background:#fce4ec;border-color:#e91e63}.toolbar-btn.active{color:#e91e63;background:#fce4ec;border-color:#e91e63}.toolbar-btn.save{color:#fff;background:linear-gradient(135deg,#e91e63,#ad1457);border-color:#0000}.toolbar-btn.save:hover{opacity:.9}.tb-icon{font-size:1em;line-height:1}.toolbar-spacer{flex:1;min-width:12px}.auth-page{flex:1;justify-content:center;align-items:center;padding:2rem;display:flex}.auth-card{background:#fffffff2;border-radius:20px;width:100%;max-width:400px;padding:2.5rem;box-shadow:0 4px 24px #00000014}.auth-card h2{color:#ad1457;text-align:center;margin-bottom:1.5rem;font-size:1.5rem}.form-group{margin-bottom:1rem}.form-group label{color:#555;margin-bottom:.3rem;font-size:.85rem;font-weight:600;display:block}.form-group input{border:2px solid #e0e0e0;border-radius:10px;width:100%;padding:.6rem .8rem;font-size:.95rem;transition:border-color .15s}.form-group input:focus{border-color:#f48fb1;outline:none}.auth-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#e91e63,#ad1457);border:none;border-radius:12px;width:100%;margin-top:.5rem;padding:.7rem;font-size:1rem;font-weight:600;transition:opacity .15s}.auth-button:hover:not(:disabled){opacity:.9}.auth-button:disabled{opacity:.5;cursor:not-allowed}.auth-error{color:#d32f2f;background:#ffebee;border-radius:8px;margin:.5rem 0;padding:.5rem;font-size:.85rem}.auth-info{color:#555;text-align:center;margin-bottom:1rem;font-size:.9rem}.auth-switch{text-align:center;color:#777;margin-top:1.2rem;font-size:.85rem}.auth-switch button{color:#e91e63;cursor:pointer;background:0 0;border:none;font-size:.85rem;font-weight:600}.auth-switch button:hover{text-decoration:underline}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:16px;width:100%;max-width:380px;padding:1.5rem;box-shadow:0 8px 32px #0003}.modal-card.large{flex-direction:column;max-width:520px;max-height:80vh;display:flex}.modal-card h3{color:#ad1457;margin-bottom:1rem;font-size:1.2rem}.modal-card input[type=text]{border:2px solid #f8bbd0;border-radius:10px;width:100%;margin-bottom:1rem;padding:.6rem .8rem;font-size:.95rem}.modal-card input[type=text]:focus{border-color:#e91e63;outline:none}.modal-actions{justify-content:flex-end;gap:.5rem;margin-top:.5rem;display:flex}.btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#e91e63,#ad1457);border:none;border-radius:10px;padding:.5rem 1rem;font-size:.9rem;font-weight:600}.btn-primary:hover:not(:disabled){opacity:.9}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-primary.small{padding:.3rem .7rem;font-size:.8rem}.btn-secondary{color:#555;cursor:pointer;background:#fff;border:2px solid #e0e0e0;border-radius:10px;padding:.5rem 1rem;font-size:.9rem;font-weight:600}.btn-secondary:hover{color:#e91e63;border-color:#f48fb1}.btn-danger{color:#d32f2f;cursor:pointer;background:#fff;border:2px solid #ffcdd2;border-radius:10px;padding:.5rem .8rem;font-size:.9rem;font-weight:600}.btn-danger:hover{background:#ffebee;border-color:#d32f2f}.btn-danger.small{padding:.3rem .6rem;font-size:.8rem}.modal-empty{text-align:center;color:#999;padding:1.5rem;font-size:.9rem}.design-list{flex-direction:column;flex:1;gap:.5rem;margin:.5rem 0 1rem;padding-right:.3rem;list-style:none;display:flex;overflow-y:auto}.design-list li{background:#fce4ec;border:1px solid #f8bbd0;border-radius:12px;justify-content:space-between;align-items:center;padding:.7rem .9rem;display:flex}.design-info{flex:1;min-width:0}.design-name{color:#ad1457;font-size:.95rem;font-weight:600}.design-meta{color:#888;margin-top:2px;font-size:.78rem}.design-actions{flex-shrink:0;gap:.4rem;display:flex}.status-toast{color:#fff;z-index:200;pointer-events:none;background:#16213e;border-radius:12px;padding:.6rem 1.2rem;font-size:.9rem;animation:2.5s fade-in-out;position:absolute;top:70px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0003}@keyframes fade-in-out{0%,to{opacity:0}10%,90%{opacity:1}}@media (width<=768px){.app-header h1{font-size:1.3rem}.logout-button{padding:.3rem .7rem;font-size:.75rem;right:.8rem}}
