body { background:#0b0f14; color:#c3d0e9; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.container { max-width: 1000px; margin: 0 auto; padding: 20px; }
.header { border-bottom: 1px solid #2a3142; margin-bottom: 20px; }
.panel { border:1px solid #2a3142; border-radius:12px; padding:16px; margin-bottom:16px; background:#0e1218; }
.grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.grid .col { display:flex; flex-direction:column; gap:6px; }
label { font-size: 0.9em; color:#8aa2c0; }
input[type="text"], input[type="number"], select { padding:8px 10px; border-radius:8px; border:1px solid #2a3142; background:#0e1218; color:#c3d0e9; }
input[type="color"] { width: 48px; height: 32px; border:1px solid #2a3142; border-radius:8px; padding:0; }
.row { display:flex; gap:10px; align-items:center; }
.btn { background:#1b2130; color:#c3d0e9; border:1px solid #2a3142; border-radius:8px; padding:8px 12px; cursor:pointer; text-decoration:none; }
.btn:hover { background:#222a3b; }
.alert { background:#142033; border:1px solid #2a3142; border-radius:8px; padding:10px; margin-bottom:10px; }
.canvas-wrap { display:flex; justify-content:center; align-items:center; padding:12px; background:#0b0f14; border:1px dashed #2a3142; border-radius:12px; }
canvas { background:#111; border-radius:8px; max-width:100%; height:auto; }
.gallery { display:flex; flex-wrap:wrap; gap:10px; }
.card { border:1px solid #2a3142; border-radius:8px; padding:8px; background:#0e1218; width:220px; }
.card img { width:100%; height:auto; border-radius:6px; }
.meta .row { font-size: 0.9em; color:#8aa2c0; }
.note { color:#8aa2c0; font-size: 0.9em; }

.progress { height:4px; border-radius:999px; background:#1b2130; overflow:hidden; margin-top:8px; }
.progress .bar { height:100%; width:30%; background:linear-gradient(90deg, #3b82f6, #9333ea); animation: indeterminate 1.6s infinite ease-in-out; }
@keyframes indeterminate { 0% { transform: translateX(-120%); } 50% { transform: translateX(40%); } 100% { transform: translateX(140%); } }